corrected database config