Change MySQL root password

To change MySQL root password login to the server console and run following command:

mysqladmin -u root -p  password 'new-password'

You will be prompted for your old password and new password will be set to newpass.

No thoughts on “Change MySQL root password”

Leave your comment

In reply to Some User