I have a web app (Rails) which configured to use utf8 for encoding. My database has configuration for character set like:
show variables like 'char%';
"character_set_client" "utf8mb4"
"character_set_connection" "utf8mb4"
"character_set_database" "latin1"
"character_set_filesystem" "binary"
"character_set_results" "utf8mb4"
"character_set_server" "latin1"
"character_set_system" "utf8"
What I need to do is to convert columns and tables (and maybe the database later) to a different character set
.
1- In my setup does my app is client in MySQL terminology?
2- When converting a col/table/database, what should I change to not get the error:
Mysql2::Error: Illegal mix of collations...