I can log in to mysql through Terminal using
mysql -u root -p
I’m prompted with:
Enter password:
When I enter the password I get:
Welcome to the MySQL monitor....
However, when I try to user the same username/password combination into phpMyAdmin I get the rror:
#2002 Cannot log in to the MySQL server
Note: I am using Snow Leopard
Because I am in Snow Leopard, I had to do the following.
Open Terminal
And replace var/mysql/mysql.sock with the following:
Then in Terminal