database config example