Revert "delete database config"

This reverts commit c4c671602931c2cfe483a7ba60e07828d89eae06.