load config from mysql db