What I can do with this error: #1267
Illegal mix of collations (utf8_czech_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
Thanks:)
What I can do with this error: #1267
Illegal mix of collations (utf8_czech_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
Thanks:)
Execute the following and then run your original query again.
SET NAMES 'utf8';
set collation_connection = 'utf8_general_ci';
If you are using variables, you can add the correct collation next to your variable declaration, i.e. instead of
SET @my_var = 'text';
declare the variables as
SET @my_var = 'text' COLLATE utf8_general_ci;
Replace utf8_general_ci with the collation that is used in the table. More details on Troubleshooting "Illegal mix of collations" error in mysql