Problem to connect to MySQL server (error #2002) in PHP

Posted by Martin on Server Fault See other posts from Server Fault or by Martin
Published on 2010-04-26T15:57:48Z Indexed on 2011/11/26 1:53 UTC
Read the original article Hit count: 414

Filed under:
|
|
|

I installed ZWAMP 1.0.7 (on Windows 7), but I'm having a weird problem. I can't connect to my MySQL server from any PHP script. If I try to use MySQL command line everything works fine but PHPMyAdmin retruns error #2002. I'm not sure whether it's important or not but MySQL server is not able to create socket file. I don't know what's the problem but I think everything is configured in my.cnf properly.

Do you have any ideas?

© Server Fault or respective owner

Related posts about mysql

Related posts about php