Add a configuration loading from mysql