Run phpMyAdmin with Amazon RDS on OS X

To connect to an Amazon RDS instance on OS X, do the following:

# cd to www root
cd /Library/WebServer/Documents
# download and extract phpMyAdmin
wget ""
gunzip phpMyAdmin-3.5.3-all-languages.tar.gz
tar xvf phpMyAdmin-3.5.3-all-languages.tar
# symlink to /phpmyadmin
ln -s /Library/WebServer/Documents/phpMyAdmin-3.5.3-all-languages/ /Library/WebServer/Documents/phpmyadmin
# edit configuration
cd phpmyadmin
# edit host:
$cfg['Servers'][$i]['host'] = '';

Login to Amazon RDS admin ( ) and go to "DB Security Groups" to add a "CIDR/IP" with the ip address you'll be connecting from. (e.g. 12.34.567.89/32)

Go to

This post is available on GitHub.
Posted .


Leave a Reply