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