seperated enter_mysql_mode out