clean database config file