MySQL works well, I have running site on it.
I can connect to the database using mysql -u... -p.... -h.... successfully.
The DB is NOT on the localhost but another server.
Tried both hostname and IP in
$cfg['Servers'][$i]['host'] = '10.188.8.207';
A lot of space available.
User is not
$cfg['Servers'][$i]['connect_type'] = 'tcp';
CentOS 6.3, phpMyAdmin-220.127.116.11 from default repo
Edited: I hit the same issue on another server, but the message is a bit different:
#2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
But I have
$cfg['Servers'][$i]['host'] = '192.168.100.219'; $cfg['Servers'][$i]['connect_type'] = 'tcp';
Next, I add a bit of garbage to the top of config.inc.php: I expect to see syntax error but nothing happened, thus I think PMA just does not see/use this file.
ls -l config.inc.php -rw-r--r-- 1 apache apache 3981 Sep 3 07:59 config.inc.php
I have no ideas. Please help.