phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error
MySQL said:
#2003 - Can’t connect to MySQL server on ‘localhost’ (10061)
i installed :
Apache 2 Windows Binary (MSI installer)
PHP5 The PHP zip is under “Windows Binaries”.
MySQL Windows x86.
PHPmyAdmin
for PHPmyAdmin what i did was…
Extract the zip file to … /apache group/apache2/htdocs
The PHPmyAdmin dir has a long name so renamed it as “pma”
Then go to pma/config.inc.php
do you mean that i should uninstall the current Apache, PHP, Mysql, and PHPmyAdmin and install the package you recommended.
is there any other way that i can configure phpmyadmin with its config file for the password, or configure it to have a form based login.
i went through a tutorial and it says that:
You may or may not configure the root user (remember this is your test bed not a production server)
if you decide not to set a root user then do not use a password in your connection functions.
I would recommend uninstalling and installing from that package, but you can attempt to work with it as you have now if you want. And as long as it is just on your local machine you can use the root password.
I also have a similar problem. I see this message:
Can’t connect to MySQL server on ‘localhost’ (10061)
and whenever I try to opne winmysqladmin.exe, the stoplight always goes to RED.. even if I choose to 'Start this service" it will still return to read…
I have exactly the same problem… Am trying to setup mysql so that I can use MY .NET application to run an MySQL database. Unfortunately I get the “Can’t connect to MySQL server on ‘localhost’ (10061)” error…
I know this is a stupid question but, do I need IIS windows component to run MySQL?
I tryed it with SP2 Firewall off and it was the same problem.
Anyway I walked around the problem by installing MySQL 4.0.25 isntead of 4.1. It did not worked when I first launched it either but I went to the WinSQLAdmin and selected “Stop the service”. I reboot the computer and I got a permenent green light next time windows appeared… And now it’s working nicely…
Thanks Stephen I uninstalled and reinstalled the xampp: and it worked perfectly :D…as a newbie I thought I would be in for a long night brcause it was working untill I did the windows update! I also had to make sure my intranet settings were turned on