LaFleur, прочтите раздел
MySQL :: MySQL 8.0 Reference Manual :: 9.1.1 String Literals от слов: «Within a string, certain sequences have special meaning unless the NO_BACKSLASH_ESCAPES SQL mode is enabled» и ниже, включая «A backslash (\) character» в таблице 9.1 «Special Character Escape Sequences». Либо удваивайте все символы «\», либо…