should be using the dbconfig values.