There is a server option (https://dev.mysql.com/doc/refman/5.6...de_ansi_quotes) that you can set MySQL to use ANSI SQL syntax instead of MySQL syntax. Have you tried using that in your tests?