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.

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait