展开全部
CREATE TABLE IF NOT EXISTS `32313133353236313431303231363533e59b9ee7ad9431333332613763%DB_PREFIX%activity` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT '',
`share_id` int(11) DEFAULT '0',
`uid` int(11) DEFAULT '0',
`cid` smallint(6) DEFAULT '0',
`cost` decimal(10,2) DEFAULT '0.00',
`begin_time` int(11) DEFAULT '0',
`end_time` int(11) DEFAULT '0',
`place` varchar(255) DEFAULT '',
`gender` tinyint(1) DEFAULT '0',
`number` smallint(6) DEFAULT '0',
`apply_number` smallint(6) DEFAULT '0',
`expiration_time` int(11) DEFAULT '0',
`fields` text,
`score` smallint(6) DEFAULT '0',
`province` smallint(6) DEFAULT '0',
`create_time` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `share_id` (`share_id`) USING BTREE,
KEY `uid` (`uid`) USING BTREE,
KEY `apply_number` (`apply_number`) USING BTREE,
KEY `province` (`province`) USING BTREE,
KEY `cid` (`cid`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
TRUNCATE TABLE `%DB_PREFIX%activity`;
下面的内容转自163----
bjlfp的博客
mysql BTREE问题高版本向低版本转换的时候
解决办法是打开要导入的文件在里面搜索 BTREE 找到如下内容
KEY `columnCindex` (`columnC`) USING BTREE
修改为
KEY `columnCindex` USING BTREE (`columnC`),