I have MySQL 5 installed on my system and I get an error while trying to connect to it. The error is as follows:
I have MySQL 5 installed on my system and I get an error while trying to connect to it. The error is as follows:
To get around this problem you need to reset the password. First, stop the mysql server:
Now open the /etc/my.cnf file in an editor, and add following line under the [mJ:'sqldj ]section: and execute the following command:
After successfully setting the password, undo the changes to the /etc/my.cnf file and restart the server. You should be able to connect with your new password.
Bookmarks