Fixed setting of mysql.