Reference Links: https://blog.csdn.net/yinzitun7947/article/details/89917611
The high data mysql database version introduced in the lower version mysql
(1) Problem: navicate11 run xxx.sql file appears Unknown collation: 'utf8mb4_0900_ai_ci'?
Error:
[ERR] 1273 - Unknown collation: 'utf8mb4_0900_ai_ci'
The reason given:
Generate a dump file database version 8.0, the file you want to import sql database version 5.6, because it is a high-low version version of into, causing 1273 error
Solution:
Open the sql file, all files are utf8mb4_0900_ai_ci
replaced with a utf8_general_ci
utf8mb4
replacement for the utf8
run sql file again after save, run successfully
(2) conversion using navicat
1. Open navicat for mysql, select the database you want to export, then right
2. Set the property to select the corresponding mysql version, then start
to sum up
There will be compatibility issues between the high and low version version of mysql mysql, believe it may result in garbled or incorrect. "Unknown collation: 'utf8mb4_unicode_ci" error problem