Move mysql configs to .conf file