[mysql]1267 - Illegal mix of collations

字符集排序的问题

SET collation_connection = 'utf8mb4_general_ci';

ALTER DATABASE your_database_name CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;

ALTER TABLE your_table_name CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;

原文链接: [mysql]1267 - Illegal mix of collations 版权所有,转载时请注明出处,违者必究。
注明出处格式:流沙团 ( https://gyarmy.com/post-683.html )

发表评论

0则评论给“[mysql]1267 - Illegal mix of collations”