How can I set/reset the MySQL root password?
MySQL Root Password
Started by Prog, Oct 07 2007 01:26 PM
1 reply to this topic
#1
Posted 07 October 2007 - 01:26 PM
|
|
|
#2
Guest_Jordan_*
Posted 08 October 2007 - 11:38 AM
Guest_Jordan_*
To set it for the first time use:
And of course replace <yourpassword> with the password you wish to use.
To change it use this command:
$ mysqladmin -u root password <yourpassword>
And of course replace <yourpassword> with the password you wish to use.
To change it use this command:
$ mysqladmin -u root -p <currentPassword> <NewPassword>


Sign In
Create Account


Back to top









