Populate database config into cache