move MySQL configurations to a separate config file.