[Err] 1064 - You have an error in your SQL syntax; check the manual that corresp
时间:2022-04-20 15:38:08
create database 20121222_dc;
USE 20121222_dc;
//后面的内容都是数据库导出的
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS `webserve`;
CREATE TABLE `webserve` (
----------------------------------------------------------
//以下是导入后显示的错误
[Err] 1064 - 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 'create database 201222_dc;
USE 20121222_dc;
SET FOREIG' at line 1
[Err] create database 20121222_dc;
USE 20121222_dc;
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS `webserve`;
CREATE TABLE `webserve` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`sex` varchar(255) NOT NULL,
`years` varchar(255) NOT NULL,
`likeReasons` varchar(255) NOT NULL,
`likeTypes` varchar(255) NOT NULL,
`viewTimes` varchar(255) NOT NULL,
`ip` varchar(255) NOT NULL,
`time` varchar(255) NOT NULL,
`sign` varchar(255) NOT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;