原帖由 1132 于 2008-2-25 14:40 发表
升级错误,MySQL 提示: 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 'sql_qzone_7ree.sql' at line 1 ,请返回。
你的mysql是什么版本的,莫非是 4.0的?
如果是4.0的用下面的语句升级- CREATE TABLE IF NOT EXISTS `cdb_qzone_7ree` (
- `id_7ree` int(8) unsigned NOT NULL auto_increment,
- `uid_7ree` int(8) unsigned NOT NULL,
- `qq_7ree` int(16) NOT NULL,
- `name_7ree` text NOT NULL,
- `detail_7ree` text NOT NULL,
- `betime_7ree` int(10) unsigned NOT NULL default '0',
- `images_7ree` text NOT NULL,
- `isgot_7ree` tinyint(1) unsigned NOT NULL default '0',
- `in_7ree` int(10) unsigned NOT NULL default '0',
- `out_7ree` int(10) unsigned NOT NULL default '0',
- PRIMARY KEY (`id_7ree`)
- ) ENGINE=MyISAM;
复制代码 |