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

Posted by Martin Sikora on Stack Overflow See other posts from Stack Overflow or by Martin Sikora
Published on 2010-04-26T09:49:32Z Indexed on 2010/04/26 9:53 UTC
Read the original article Hit count: 416

Filed under:
|
|
|

Hello, 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?

© Stack Overflow or respective owner

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

Posted by user41514 on Server Fault See other posts from Server Fault or by user41514
Published on 2010-04-26T15:57:48Z Indexed on 2010/04/26 16:03 UTC
Read the original article Hit count: 416

Filed under:
|
|
|

Hello, 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