lostty84 — 2012-05-10T19:11:11-04:00 — #1
please i just installed lion and i tried to log on into phpmyadmin with a username and password i am sure of, and i get
"#2002 Cannot log in to the MySQL server", i resintalled again but same issue, please any help would be grateful
doug_g — 2012-05-10T21:23:08-04:00 — #2
Is it also a new installation of phpmyadmin? If yes, check that you have phpmyadmin configued properly for authentication. You can set phpmyadmin to use different ways to log in to your mysql server, maybe something got changed in that area.
omgcarlos — 2012-05-10T23:42:15-04:00 — #3
I don't know if this is what's happening to you, but I changed "localhost" to "127.0.0.1" and it worked for me. There was a bug a while back where localhost wasn't routing properly.
If you're logging in with code change:
$db = mysql_connect("localhost:8888", "user", "pass");
$db = mysql_connect("127.0.0.1:8888", "user", "pass");
If you're logging in through the browser, you'll have to go into the config file and change the defaults in there. For the life of me I can't remember what the file was. I use MAMP Lite, so basically all this is done automatically for me...If that doesn't work maybe we can figure something else. It could actually be a number of things
lostty84 — 2012-05-11T02:24:10-04:00 — #4
its a new intallation of phpmyadmin, @omgcarlos, i am login in with the phpmyadmin interface not the code
tom8 — 2012-05-11T07:17:45-04:00 — #5
I found this article:
Might worth to check it out.
I don't own a Mac so I would not know much about the topic.