Create database config file