Why can't I change the engine?

see here:

https://www.jb51.net/article/.

I change the engine

mysql> alter table num  type = MyISAM;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near "type = MyISAM" at line 1
mysql> alter table num  type = Myisam;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near "type = Myisam" at line 1

there is already data in this table, can"t it be modified in this way?

May.08,2021

ALTER TABLE num ENGINE=MYISAM

Menu