Disable mysql password authentification

Reset mysql password

/usr/bin/mysqladmin -u root password 'new-password'

Add the following lines to your /root/.my.cnf file

vi /root/.my.cnf

[mysqladmin]
user=root
password=new-password

[client]
user=root
password=new-password

Update permissions to 0600

chmod 600 /root/.my.cnf

Restart your mysql server

service mysqld restart

Similar Posts:

    None Found

Leave a Reply

Your email address will not be published. Required fields are marked *