Monday, 4 February 2013

set mysql root user password

Problem: Set password for mysql root user
Solution: The default installation of mysql on CentOS doesnt set password for root user. To set password for root user type below command.

 [root@dragon ~]# mysqladmin -u root password root 

The password for the root user we are setting here is root

No comments:

Post a Comment