I’m using mysql 5.0 and easyphp. While connecting to sql server I’m receiving the above error. When I tried to check the connection with
telnet localhost 3306
it says
could not open connection to the host. connection failed.
What should I do now? I’ve already turned off my firewall.
Are you sure that mysql is running? Is it possible that you have skip_networking in your configuration file? See:
http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html
[SOURCE: http://lists.mysql.com/mysql/186288%5D