May
29th

WHM/CPanel: #2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)

Filed under The Server Room | Posted by Gary

Tjis is quite a common error and fortunately there seems to be a ‘silver bullet’. The answer was posted on the CPanel forums by Dawzz.

pico /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
or if your server doesn’t have pico:

nano /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
Look for the line that says:

$cfg['Servers'][$i]['socket'] = ”;

and change it to:

$cfg['Servers'][$i]['socket'] = ‘/var/lib/mysql/mysql.sock’;
then change the next line from:

$cfg['Servers'][$i]['connect_type'] = ‘tcp’;
to:

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

Leave a comment if that worked for you!

Popularity: 51% [?]

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

You must be logged in to post a comment.