解决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”已成功更新。
热门推荐
10 小红书平安祝福语简短
11 生日祝福语大全女孩简短
12 收生日红包祝福语 简短
13 领证幽默祝福语简短
14 法考面试祝福语简短
15 老哥出门祝福语简短语
16 送灯祝福语简短独特
17 幼儿狗年祝福语大全简短
18 好听的元旦简短祝福语