checking database config