I’m using the Percona mysql client in Archlinux to connect to a database, mysql Ver 8.0.15-5 for Linux on x86_64 (Source distribution)
[hendry@t480s db]$ ./connect.sh
mysql> SHOW SESSION VARIABLES LIKE ‘collation_connection’;
Variable_name Value
collation_connection utf8mb4_general_ci
mysql> call unit_create_with_dummy_users;
ERROR 1267 (HY000): Illegal mix of collations (utf8mb4_unicode_520_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation ‘=’
mysql>
How do I connect with utf8mb4_unicode_520_ci ? Many thanks,
Hi, character sets and collations can be challenging sometimes, here is a presentation set from Percona Live on MySQL 8 and collations, delivered by Oracle [URL]Percona Live Europe 2017 which might help with a bullet point overview.
There is also a free webinar on troubleshooting character sets here [URL]Upcoming Webinars