-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF-8 sequence check when storing data on SQL query #235
Comments
It's should be relating to MySQL's strict mode: https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html . MySQL has some changes on its strict mode since 5.7. I haven't tested the Merge with PostgreSQL or SQLite. Since this issue only occurs when storing datatrace on records that are being inserted, there are several ways to fix, but I'm not sure which is the best one:
For MySQL users using 5.7 or higher, there are some methods to mitigate this issue:
|
Another possible approach: In the data trace, rather than just using |
I encounter a MySQL error of invalid UTF-8 sequence when Merge is storing
datatrace
of records to be converted from tables using a non UTF-8 character-set.No such error on MySQL 5.5, but the error appears on MySQL 5.7 (haven't checked 5.6). It should relate to MySQL but not PHP. However, I haven't found any reference to UTF-8 sequence check yet. Will continue investigation later.
The text was updated successfully, but these errors were encountered: