-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Bug Report: Illegal mix of collations for operation 'UNION' (errno 1271) (sqlstate HY000)
in health streamer
#15858
Comments
The schema for vitess/go/vt/sidecardb/schema/schematracker/schemacopy.sql Lines 17 to 28 in 610bdaf
|
MySQL is configured with |
|
Looks like
|
Looks like the tables that the Some columns defined in the view have an explicit encoding defined (like |
On MySQL 5.7, |
To fix this and make it work correctly on MYSQL 5.7 and 8.0, I propose the following two changes:
|
I opened a PR for this over at #15859. I opted to not do any changes to the definition of the Instead, I modified the |
Closing as the linked PR is merged. |
Overview of the Issue
We see the following error message pop up in the logs of our primaries:
It doesn't seem to have any noticeable impact on any of our use cases, but I think this has something to do with the charsets/collations of the MySQL Server and the
_vt.schemacopy
table being different.Reproduction Steps
N/A
Binary Version
This seems to affect
vttablet
up from at least v16 to v18. v19 seems to no longer have a_vt.schemacopy
table and is not running this query.Operating System and Environment details
Log Fragments
The text was updated successfully, but these errors were encountered: