解决MySQL错误“ TYPE = MyISAM”?
要解决该错误,您只需将TYPE替换为ENGINE。设置引擎的语法如下-
ENGINE = MyISAM;
使用TYPE时,会发生MySQL错误。让我们在创建表时看到相同的场景-
mysql> create table Customers−> (
−> CustomerId int,
−> CustomerName varchar(200)
−> )TYPE = MyISAM;
错误如下-
ERROR 1064 (42000): 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 'TYPE = MyISAM' at line 5
要解决以上错误,请用ENGINE替换TYPE,如下所示-
mysql> create table Customers−> (
−> CustomerId int,
−> CustomerName varchar(200)
−> )ENGINE = MyISAM;
MySQL中的“ ENGINE = MyISAM”已成功更新。
以上是 解决MySQL错误“ TYPE = MyISAM”? 的全部内容, 来源链接: utcz.com/z/335313.html