|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
Change the MySQL root password at the SQL prompt |
|||||
1) Login to mysql server, type following command at shell prompt: $ mysql -u root -p 2) Use mysql database (type command at mysql> prompt): mysql> use mysql; 3) Change password for user vivek: mysql> update user set password=PASSWORD("NEWPASSWORD") where User='vivek';
4) Reload privileges: mysql> flush privileges; |
|||||
Powered by
KBPublisher (Knowledge base software)