Page 1 of 1

WindowXp PHP MySQL Connectivity Problem

PostPosted: 23. January 2011 05:13
by ccpplinux
Hi all,
On one of my Windows XP system I am unable to connect to mysql from php script. I am able to login to mysql server from the command line as well as mysql console provided by WAMP 2.0 but from php script mysql_connect() function is always failing. I have tested WAMP 2.0 and three versions of EasyPHP but in each case I am facing the same problem. Even phpMyAdmin is not being starting on this system. I have also followed the steps mentioned on the page http://forge.mysql.com/wiki/Error2003-C ... ySQLServer but of no use. Can any one give me clue for reason behind this type of problem?

I have also tried XAMPP, but I am getting following message when I am trying to access phpmyadmin:

===========================
#2003 - Can't connect to MySQL server on 'localhost' (10061)
Connection for controluser as defined in your configuration failed.
===========================

Best Regards ...
Pankaj Kumar

Re: WindowXp PHP MySQL Connectivity Problem

PostPosted: 24. January 2011 04:47
by Sharley
I don't know anything about your WAMP problems.

ccpplinux wrote:#2003 - Can't connect to MySQL server on 'localhost' (10061)
Connection for controluser as defined in your configuration failed.
Your XAMPP error message may have a solution in these advanced forum search results.

Good luck.