Help - Search - Members - Calendar
Full Version: MySQL Error
MandrivaUsers.org > Advanced Topics > Networking
kde
Dear..

I'am using mandriva 2008.

I succesfully install XAMPP v1.6.6 but when i open phpmyadmin, there is some error "#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)" :(

Some body can help me?


[moved from Software by spinynorman]
scarecrow
Have you succeded running the server ( that is - seeing the default xampp starting page after typing to your browser "http://127.0.0.1") ?
tyme
if he can hit the phpmyadmin site and get that error then apache is running. however, the mysql server may not be running, or is running on a port different than what phpmyadmin expects. Since phpmyadmin comes with xampp I would assume the ports are correct and the problem is that mysqld is not running. Check in the Services section of Mandriva Control Center and ensure that mysqld is running. Also be sure that you don't have any firewalls blocking connections to localhost (this should not be happening unless you've modified your firewall).
SilverSurfer60
It is possibly a permissions problem with the mysql server. I have just been through all this and it took me a week to find out I had the wrong permissions on the data directory. As soon as the ownership and group were changed to mysql then all was well. Of course this is only the case if the data directory is not in the default directory. Another possibility is that /etc/my.cnf is not allowing network clients to access the database. If the client is run on localhost then it should be OK. Try to access the database from a shell with
CODE
[somebody@somewhere]$mysql -u root

If you get the mysql prompt then the server is running correctly. Just enter 'quit' at the mysql prompt.
Error "#2002 is a very obscure output and basically means the data directory is not accessible for whatever reason.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.