📜  mysql 更改数据库字符集和排序规则 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:36.553000             🧑  作者: Mango

代码示例1
ALTER DATABASE databasename CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE tablename CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;