2006/01/31 | About Mambo SQL 1071 Error install and solution
类别(笔迹) | 评论(0) | 阅读(259) | 发表于 15:40
The error:
SQL=Specified key was too long; max key length is 1000 bytes:
.....

The solution:
Open installation/sql/mabo.sql and add the following line to the create table statement :
DEFAULT CHARACTER SET latin1

The result:
# Table structure for table `#__core_acl_aro`
#

CREATE TABLE `#__core_acl_aro` (
`aro_id` int(11) NOT NULL auto_increment,
`section_value` varchar(240) NOT NULL default '0',
`value` varchar(240) NOT NULL default '',
`order_value` int(11) NOT NULL default '0',
`name` varchar(255) NOT NULL default '',
`hidden` int(11) NOT NULL default '0',
PRIMARY KEY (`aro_id`),
UNIQUE KEY `section_value_value_aro` (`section_value`,`value`),
UNIQUE KEY `#__gacl_section_value_value_aro` (`section_value`,`value`),
KEY `hidden_aro` (`hidden`),
KEY `#__gacl_hidden_aro` (`hidden`)
) TYPE=MyISAM,
DEFAULT CHARACTER SET latin1;
0

评论Comments

日志分类
首页[146]
随心所记[86]
笔迹[8]
网络文摘[35]
收藏夹[3]
天籁人声[11]
写给2006[3]