Dive into the archives.
- #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
- PHPMyAdmin error with cPanel
Existing configuration file (./config.inc.php) is not readable.
This problem happens when you try to log in PHPMyAdmin in this scenario:
lsattr /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
—-i——– config.inc.php
ls -l /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
-rwx—— 1 cpanel cpanel 36109 Nov 10 2006 config.inc.php
The solution:
chattr -i /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
chgrp cpanel-phpmyadmin /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
