I added the public hostname of my database to the app/etc/config.xml