Forum Moderators: coopster
I am running apache 1.3.27 on Win XP. I have MySQL 4.0.12 and PHP 2.4.0. All of this is running as a local service for development purposes.
Things were working fine. I am now getting the error "Can't connect to MySQL server on 'localhost'(10061)". This after I foolishly decided to upgrad to the newer versions of MySQL and PHP.
I have tried a compete uninstall and reinstall.
Same error.
I have confirmed that MySQL is running.
I have tried ressetting privileges, thinking that their might be a problem in the grant tables.
Same error.
I searched the MySQL web site. It appears that others have had similar problems, but I could not get any of the suggestions found their to solve the problem.
I searched Google. If I enter the error as a search term I immediately discover that a LOT of people out there are having the same error. Their sites do not work. Clicking the link simply brings up a page with the error message (Gotta' love Google).
In short, I have reached the end of my knowledge base and resources. I am not great at the operating level, and my knowledge of MySQL is a working knowledge only.
Do any of you gurus have words of wisdom that can help me to move beyond this state of utter frustration? (It would be nice if you could tell me how to access my DB while you are at it.)
Thanks in advance.
WBF
I can access MySQL from the command line, so I know it is running. I just can't get it to connect with PHP. I have gone through the configuration files of all three line by line.
Oh, when I tried to telnet port 3306, which was suggested in an error message on the command line, I get a message that it cannot connect. Not surprising since it is set up to connect via TCP/IP.
I suspect it is something really simple that I am just not seeing, but given its prevalence on sites across the web, it must be something that a lot of others aren't seeing also.
WBF
Check that you have a single PHP [php.net].ini and make sure that MySQL [mysql.com].default_port is either set to the right port or not set at all.
Andreas