Windows Server 2008: phpMyAdmin cannot connect to mysql but mysql cmdline connect works
Posted on 2010-11-26
I am trying to install phpmyadmin on a Windows Server 2008 box but I cannot connect. PhpMyadmin displays the following error message: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
When I try to connect to mysql with the cmd line tool it works perfectly. I am using PhpMyAdmin 3.3.8 and a MySQL 5.1 server and PHP 5.3.3.
There is nothing in the windows logs and nothing in the PHP logs. I also checked that session.save_path is writable by everybody.
When it tries to connect it doesn't return immediately with the error message but it takes about 20 seconds. So I reckon something is blocking the request. I also tried it with all ports open.
It also doesn't seem to be a phpmyadmin problem since I tried to install drupal and it also fails when trying to connect to the database.
I am running out of ideas what can git wrong here. Hopefully someone can help me out.