Good morning, I need to migrate a MySQL 8.0.16 database into a MySQL 5.5 instance.
all worked well, but all the words with accents (e.g. Giacenza-Disponibilità
) were ported in the new database like the wrong charset was used (Giacenza-Disponibilità
).
The original DB charset settings were:
CHARACTER SET utf8mb4
COLLATE utf8mb4_0900_ai_ci;
While the destination database couldn't be set to utf8mb4_0900_ai_ci
as that collation, I read, is not available for MySQL < 5.6.
I tried setting many different utf8 and utf8mb4 charsets, like utf8mb4_0900_ai_ci
, but the resulting database still contains broken records, like in the example before. If i insert any new record, like perché, it will be stored and shown correctly.
could anyone please suggest me a way to migrate the database without encountering those issues?