#2002 – The server is not responding – phpmyadmin Error

This is a common error in cPanel, here is the fix:

First edit the config file /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

Then, change the two following lines from

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

to

$cfg['Servers'][$i]['socket'] = '/var/lib/mysql/mysql.sock';
$cfg['Servers'][$i]['connect_type'] = 'socket';

Finish restarting mysql

/etc/init.d/mysql restart

This entry was posted in cPanel, Linux and tagged , , . Bookmark the permalink.

Deja un comentario