Wednesday, October 22nd, 2008 | Author: Angelo
phpMyAdmin - Error
#2002 - The server is not responding (or the local MySQL server’s socket is not correctly configured)
Here is what worked for me on cPanel server.
root@server [~]# vi /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‘;
now restart mysql service
root@server [~]# /etc/init.d/mysql restart
Category: phpmyadmin














Saturday, 10. January 2009
where can I find this location: “/usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php” ???
Sunday, 7. March 2010
i tried many time ,but it don’t work… please send me by thank you if you have new solution ,and i cann’t stop msql service