Use the database config

We should use the variables we defined.