I was able to successfully install MySQL using Brew. The server is started successfully also. I removed the password in the database table user for both root and Nora (my user). However, when I try to connect I get the message access denied.
mysqladmin shutdown
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'Nora'@'localhost' (using password: NO)'
Now when I try to enter any password in phpmyyadmin the below message displays:
#2002 - Socket operation on non-socket — The server is not responding
(or the local server's socket is not correctly configured).
Though I have copied mysql.sock as below:
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
But the only strange thing is that I found mysql.sock with LOCK refix. mysql.sock.lock. but I copied it manually anyway, could that be the root cause?