Wednesday 15 December 2010

#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured”

#2002 – The server is not responding (or the local MySQL server’ssocket is not correctly configured”

Here is what worked for me
pico /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

find
$cfg['Servers'][$i]['socket'] = ”;
change to
$cfg['Servers'][$i]['socket'] = ‘/var/lib/mysql/mysql.sock’;

next line
$cfg['Servers'][$i]['connect_type'] = ‘tcp’;

change to
$cfg['Servers'][$i]['connect_type'] = ‘socket’;

like i said worked for me

No comments:

Post a Comment