mySQL数据库在导入时提示语法错误
数据库为本地导出的数据库。在服务器上导入时提示YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoy...
数据库为本地导出的数据库。在服务器上导入时提示
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 '' at line 1
CREATE TABLE IF NOT EXISTS `en_activity` ( `activity_id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(50) NOT NULL DEFAULT '', `sort_order` tinyint(1) NOT NULL DEFAULT '50', `add_time` int(11) NOT NULL, PRIMARY KEY (`activity_id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=14
不知是哪里有错误。请高手帮助
执行这一段,但提示还是这个错误。 展开
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 '' at line 1
CREATE TABLE IF NOT EXISTS `en_activity` ( `activity_id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(50) NOT NULL DEFAULT '', `sort_order` tinyint(1) NOT NULL DEFAULT '50', `add_time` int(11) NOT NULL, PRIMARY KEY (`activity_id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=14
不知是哪里有错误。请高手帮助
执行这一段,但提示还是这个错误。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询