The destination host is indeed using ANSI_QUOTES:
source db:
mysql> SELECT @@GLOBAL.sql_mode; +-------------------+ | @@GLOBAL.sql_mode | +-------------------+ | | +-------------------+ 1 row in set (0.00 sec) destination db:
mysql> SELECT @@GLOBAL.sql_mode; +---------------------------------------------------------------------------------------------------+ | @@GLOBAL.sql_mode | +---------------------------------------------------------------------------------------------------+ | ANSI_QUOTES,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION | +---------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)
The destination host is indeed using ANSI_QUOTES:
source db:
mysql> SELECT @@GLOBAL.sql_mode; ------- ------+ ------- ------+ ------- ------+
+------
| @@GLOBAL.sql_mode |
+------
| |
+------
1 row in set (0.00 sec)
destination db:
mysql> SELECT @@GLOBAL.sql_mode; ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ STRICT_ TRANS_TABLES, NO_ZERO_ IN_DATE, ERROR_FOR_ DIVISION_ BY_ZERO, NO_ENGINE_ SUBSTITUTION | ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+
+------
| @@GLOBAL.sql_mode |
+------
| ANSI_QUOTES,
+------
1 row in set (0.00 sec)