Use the database config
Merge pull request #2 from boom1992/master

Use the database config