I am having a database in MariaDB with Latin1 character set and collation connection as Latin1_general_ci. Now I want to change it to utf8mb and utf8mb_general_ci. And my database is of 650GB.
So, instead of changing the collation for each column, table and database, is there any other possibility?
Also, it is not allowing me to change the character set and collation with all the foreign keys applied. I have around 2,500 foreign keys, and dropping and recreating them would take approximately 72 hours.
utf8mb_general_ciquite non-standardized hack from long long ago. There's now UCA standards on collations. If you're serious about getting collations right, suggest a 11.4+ MariaDB version and the system variable @@character_set_collations, In 10.6utf8mb4_unicode_ciis probably a better choice.