PHPAdmin Error #2002
Posted: 20. July 2011 13:19
I have been using XAMPP for a number of years now. First time i have had this problem. I'm using XAMPP 1.7.4 and Windows 7.
Initially, when I connected to http://localhost in my browser I was getting connected to IIS7. I fixed this by shutting down and disabling the windows server.
After restarting XAMPP, I was able to connect to the admin screen of XAMPP as normal using http://localhost.
The status screen indicates the following:
MySQL database DEACTIVATED
PHP ACTIVATED
HTTPS (SSL) ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) ACTIVATED
SMTP Service DEACTIVATED
FTP Service DEACTIVATED
Tomcat Service DEACTIVATED
When I connect to PHPMyAdmin I get this error:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
Connection for controluser as defined in your configuration failed.
And when I connect to my websites, I get this error in the browser:
Error establishing a database connection
I assume some configuration is wrong in the setting or a file etc is missing.
Any help would be appreciated.
Thanks
Liam
Initially, when I connected to http://localhost in my browser I was getting connected to IIS7. I fixed this by shutting down and disabling the windows server.
After restarting XAMPP, I was able to connect to the admin screen of XAMPP as normal using http://localhost.
The status screen indicates the following:
MySQL database DEACTIVATED
PHP ACTIVATED
HTTPS (SSL) ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) ACTIVATED
SMTP Service DEACTIVATED
FTP Service DEACTIVATED
Tomcat Service DEACTIVATED
When I connect to PHPMyAdmin I get this error:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
Connection for controluser as defined in your configuration failed.
And when I connect to my websites, I get this error in the browser:
Error establishing a database connection
I assume some configuration is wrong in the setting or a file etc is missing.
Any help would be appreciated.
Thanks
Liam