I try to import sql file to my database. the query is :
CREATE TABLE 'project' (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`description` text NOT NULL,
`creat_time` datetime DEFAULT NULL,
`create_user_id` int DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`update_user_id` INTEGER DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
The error information is :
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 ''project' (
idint(11) NOT NULL AUTO_INCREMENT,namevarchar(25' at line 1)
But I did not see any errors from my query. Anyone can give me advises?
create_timewould be better thancreat_time