Thursday, October 21, 2010

When Server is not responding

When  PhpMyAdmin in your domain control panel gives following error:-
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured")


link : http://forums.cpanel.net/showpost.php?p=33...mp;postcount=11



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';



/** I am sure you like this just like me **/

No comments:

Post a Comment