few errors with mySQL

ensimek

Verified User
Joined
Aug 7, 2009
Messages
16
Hi Guys,
I've no idea what happened today to my mySQL.

Firstly, I got message that mysql service is down, so i analized some logs and i figured out ... and mysql is working correctly at this moment. socket is located in /var/run/mysqld/mysql.sock but phpmyadmin is saying that server is not responding or is not configured, so i changed socket options in php.ini and few pages started working but not phpmyadmin :/ please help.
 
you should use the /tmp/mysql.sock path for mysql... using /etc/my.cnf for configure mysql to use that sock path...

edit /etc/my.cnf or /etc/mysql.conf and add

Code:
socket=/tmp/mysql.sock

then restore your php.ini as it was original and everything will work fine :)
 
Back
Top