WindowXp PHP MySQL Connectivity Problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

WindowXp PHP MySQL Connectivity Problem

Postby ccpplinux » 23. January 2011 05:13

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
ccpplinux
 
Posts: 1
Joined: 23. January 2011 05:11

Re: WindowXp PHP MySQL Connectivity Problem

Postby Sharley » 24. January 2011 04:47

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 278 guests