mysql change root password
1, To setup root password for first time, use mysqladmin command at shell prompt as follows:$ mysqladmin -u root password NEW_PASSWORD
2, update a root password,
$mysqladmin -u root -p'oldpassword' password newpass
For example,change old password 123 to 456
$ mysqladmin -u root -p123 password '456'
No comments:
Post a Comment