phpmyadmin install script (auto-configuration of remote host DB IP/Domain record)

1 post / 0 new
#1 Fri, 08/24/2012 - 10:33
ElijahPaul

phpmyadmin install script (auto-configuration of remote host DB IP/Domain record)

Hi There,

I've managed to install Virtualmin without many issues.

The server currently has a remote MySQL host as the default MySQL server.

However when I create new virtual server and then install the phpmyadmin script. The default host setting in the config.inc.php file is set to 'localhost' meaning that the phpmyadmin installation will not connect via the web interface without additional configuration.

I'm trying to figure out if I'm missing a setting somewhere else in virtualmin/webmin, telling the install script to set the mysql host to my remote host as opposed to 'localhost' by default. So essentially changing the line;

$cfg['Servers'][$i]['host'] = 'localhost';

to

$cfg['Servers'][$i]['host'] = 'my_remote_mysql_host';

Any help would be greatly aprecciated.

Eli.