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% [?]



You must be logged in to post a comment.