Set root password for mysql Database

By Santhosh N

This explains how to set root password for MySql Database

To set root password for MySql Database you can type in the following command at shell in Linux operating system.

$ mysqladmin -u root password DesiredPassword

If the password is already set, then you can use this command to change the password

$ mysqladmin -u root -p'oldpassword' password DesiredNewPassword

Related FAQs

MySql as we ll aknow is a light weight DB compared to major databases like sql server and oracle and its now competing with others with the introduction of support of stored procedures
Set root password for mysql Database  (707 Views)