How can I add an Amazon RDS database to Virtualmin?

1 post / 0 new
#1 Thu, 04/12/2012 - 05:48
evanman

How can I add an Amazon RDS database to Virtualmin?

I am busy setting up a test server at Amazon EC2 with an RDS MySQL database attached. I am running Ubuntu 10.04 and installed Virtualmin right out the box. Previously (on a separate server) I ran PHPMyAdmin for database manipulation and in order to see the RDS database I simply added the below to config.inc.php:

$cfg['Servers'][$i]['auth_type'] = 'HTTP';
$cfg['Servers'][$i]['hide_db'] = '(mysql|information_schema|phpmyadmin)';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'exampleinstance.xyz.eu-west-1.rds.amazonaws.com';

Now that I am using Virtualmin on the new server only (and not PHPMyAdmin) how can I make the RDS database visible for manipulation in VirtualMin? There doesn't seem to be an equivalent config.inc.php file.

Thanks for any help!