use database config file