Since 5.6.27, mysql server produces a warning if string literals cannot
be interpreted in a given character set (See bug #20238729 at MySQL)
It seems like the "_binary" prefix is the best way to prevent MySQL server from treating a binary data as utf-8 (or other connection charset) characters.
Already done at PyMySQL
Since 5.6.27, mysql server produces a warning if string literals cannot
be interpreted in a given character set (See bug #20238729 at MySQL)
It seems like the "_binary" prefix is the best way to prevent MySQL server from treating a binary data as utf-8 (or other connection charset) characters.
Already done at PyMySQL