alter table tablename DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE tablename convert to CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
mysql 修改表的默认字符
最新推荐文章于 2024-03-29 12:36:18 发布
alter table tablename DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE tablename convert to CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci