#1064 - 您的SQL语法有错误;

时间:2015-04-27 20:59:56

标签: mysql

您好我在mysql中获得以下内容

#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 TABLE `mod_solusvm_vps` (
  `vpsid` int(255) NOT NULL AUTO_INCREMENT,
' at line 1 

代码:

CREATE TABLE `mod_solusvm_vps` (
  `vpsid` int(255) NOT NULL AUTO_INCREMENT,
  `clientid` varchar(255) NOT NULL,
  `orderid` int(255) NOT NULL,
  `hostid` int(255) NOT NULL,
  `key` varchar(255) NOT NULL,
  `hash` varchar(255) NOT NULL,
  PRIMARY KEY (`vpsid`),
  UNIQUE KEY `clientid` (`clientid`,`orderid`,`hostid`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;

非常感谢任何有关如何修复的帮助

0 个答案:

没有答案