I just write wrong information to the /etc/phpmyadmin/config.inc.php, the server is still working, so is the server using a cached version of config.inc.php ?
phpmyadmin multiple mysql servers in one machine (Ubuntu VPS)
as The title said, I wanna access the production server and the development databases servers with one phpmyadmin, I add the production server configuration data on config.inc.php, but it seems it's not working, I production server is actually working ( sudo mysql -h 127.0.0.1 -P 3315 -u root -p ......) Here is the production server configuration inside config.inc.php file : /*
-
Second server */ $i++; $cfg['Servers'][$i]['verbose'] = 'Server Name';
$cfg['Servers'][$i]['host'] = 'localhost:3315';
$cfg['Servers'][$i]['port'] = '3315';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'password';
$i++;
Actually, phpmyadmin was looking for the configuration file (config.inc.php) inside usr/share/phpmyadmin directory, so I had to move it there intead of etc/phpmyadmin directory. Problem solved.
Please or to participate in this conversation.