去评论
dz插件网

Discuz!X3.5新增 新版后台相关界面优化(阶段2)需要升级的数据库语句

admin
2022/09/13 12:52:08
Discuz!X3.5新增 新版后台相关界面优化(阶段2)需要升级的数据库语句:


需要将 宝塔 —— 软件商店 —— 已安装 —— MySQL —— 设置:
配置修改:
Ctrl+F查找:
  1. sql-mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
修改替换为:
  1. sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
修改完保存后,返回 服务 ——  重启 MySQL


然后phpmyadmin里面SQL执行:
  1. INSERT INTO pre_common_nav VALUES ('', '0', '搜索', '', 'search.php?mod=forum', 'search', 0, 0, 1, 1, 0, 0, 0, 0, '', '', '', 5, '');
  2. INSERT INTO pre_common_nav VALUES ('', '0', '公告', '', 'forum.php?mod=announcement', 'announcement', 0, 0, 1, 1, 0, 0, 0, 0, '', '', '', 5, '');
  3. INSERT INTO pre_common_nav VALUES ('', '0', '导读', '', 'forum.php?mod=guide&view=newthread', 'guide', 0, 0, 0, 1, 0, 0, 0, 0, '', '', '', 5, '');
  4. INSERT INTO pre_common_nav VALUES ('', '0', '资讯', '', 'portal.php?mod=list&catid=1', 'portal', 0, 0, 0, 1, 0, 0, 0, 0, '', '', '', 5, '');
  5. INSERT INTO pre_common_nav VALUES ('', '0', '日志', '', 'home.php?mod=space&do=blog', 'blog', 0, 0, 0, 1, 0, 0, 0, 0, '', '', '', 5, '');
  6. INSERT INTO pre_common_nav VALUES ('', '0', '分享', '', 'home.php?mod=space&do=share', 'share', 0, 0, 0, 1, 0, 0, 0, 0, '', '', '', 5, '');
  7. INSERT INTO pre_common_nav VALUES ('', '0', '排行榜', '', 'misc.php?mod=ranklist', 'ranklist', 0, 0, 0, 1, 0, 0, 0, 0, '', '', '', 5, '');