attempt to get this working with dynamic database, user and passwords.
Merge pull request #1 from AnalogJ/panamax

attempt to get this working with dynamic database, user and passwords.