gpt4 book ai didi

mysql - 我在 joomla 安装过程中遇到错误

转载 作者:行者123 更新时间:2023-11-29 02:15:27 26 4
gpt4 key购买 nike

错误

表 'joomla_db.#__usergroups' 不存在 SQL=INSERT INTO #__usergroups (id, parent_id, lft , rgt, title) VALUES (1, 0, 1, 18, '公开'), (2, 1, 8, 15, '注册' ), (3, 2, 9, 14, '作者'), (4, 3, 10, 13, '编辑'), (5, 4, 11, 12, '出版商'), (6, 1, 4 , 7, '经理'), (7, 6, 5, 6, '管理员'), (8, 1, 16, 17, ' super 用户'), (9, 1, 2, 3, '访客')

您的 SQL 语法有误;检查与您的 MySQL 服务器版本对应的手册,了解在第 11 行 SQL=CREATE TABLE IF NOT EXISTS #__usergroups ( id int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Primary Key', parent_id int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Adjacency List Reference Id', lft int(11) NOT NULL DEFAULT 0 COMMENT '嵌套集 lft.', rgt int(11) NOT NULL DEFAULT 0 COMMENT '嵌套集 rgt.', title varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (id), UNIQUE KEY idx_usergroup_parent_title_lookup (parent_id,title), KEY idx_usergroup_title_lookup (title), KEY idx_usergroup_adjacency_lookup (parent_id), KEY idx_usergroup_nested_set_lookup (lft,rgt) 使用 BTREE ) ENGI NE=InnoDB DEFAULT CHARSET=utf8 DEFAULT COLLATE=utf8_unicode_ci

最佳答案

出现这个错误主要是因为旧版本的MySQL只是升级了MySQL版本,问题就解决了
作为解决方法,将 (lft,rgt) USING BTREE 替换为 USING BTREE (lft,rgt)。

但是你应该升级MySQL!

关于mysql - 我在 joomla 安装过程中遇到错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40519379/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com