fix mysql setting.