make local database config use server variables
additional server vars in sample