最近,将bearsimple主题升级到最新版,因宝塔的原因升级完成后,提示报错,报错信息如下:
于是,向我们的原创大佬咨询解决方案,现将解决方案分享给大家。
第一步:进入phpmyadmin
第二步:运行
第三步:输入语句
alter table typecho_comments convert to character set utf8mb4 collate utf8mb4_unicode_ci;
alter table typecho_contents convert to character set utf8mb4 collate utf8mb4_unicode_ci;
alter table typecho_fields convert to character set utf8mb4 collate utf8mb4_unicode_ci;
alter table typecho_metas convert to character set utf8mb4 collate utf8mb4_unicode_ci;
alter table typecho_options convert to character set utf8mb4 collate utf8mb4_unicode_ci;
alter table typecho_relationships convert to character set utf8mb4 collate utf8mb4_unicode_ci;
alter table typecho_users convert to character set utf8mb4 collate utf8mb4_unicode_ci;
第四步:执行
最后,恢复啦~!