解决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 工厂祝福语简短10字
17 兄弟的结婚祝福语简短
18 老师新婚快乐祝福语简短