當我配置數據庫我已經安裝在XAMPP的Joomla它顯示了以下錯誤如何解決joomla中的數據庫配置錯誤?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING BTREE) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9' at line 11 SQL=CREATE TABLE IF NOT EXISTS `d3vm0_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 'Nested set lft.', `rgt` int(11) NOT NULL DEFAULT '0' COMMENT 'Nested set 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`) USING BTREE) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9
Table 'testone.d3vm0_usergroups' doesn't exist SQL=INSERT INTO `d3vm0_usergroups` (`id`, `parent_id`, `lft`, `rgt`, `title`) VALUES (1, 0, 1, 18, 'Public'), (2, 1, 8, 15, 'Registered'), (3, 2, 9, 14, 'Author'), (4, 3, 10, 13, 'Editor'), (5, 4, 11, 12, 'Publisher'), (6, 1, 4, 7, 'Manager'), (7, 6, 5, 6, 'Administrator'), (8, 1, 16, 17, 'Super Users'), (9, 1, 2, 3, 'Guest')
檢查'testone'在phpmyadmin中是否有表'd3vm0_usergroups'或不是 – 2013-04-28 06:51:02
testone?你有沒有安裝joomla的新版本?或者你只是遷移? – themis 2013-04-28 13:37:29