Change all configuration files to use mysql db