Create database config