解决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”已成功更新。
热门推荐
4 天仙配简短祝福语
10 爷爷生日会祝福语简短
11 财神祝福语简短网名
12 新婚贺词祝福语创意简短
13 文艺乔迁祝福语简短精辟
14 日生日贺卡祝福语简短
15 新年酒会祝福语简短创意
16 兔年简短祝福语8字
17 过生日祝福语简短爸爸
18 小学同学简短祝福语