correct database configuration