When executing a CREATE TABLE statement, you may encounter the following error:
This error occurs when the deprecated TYPE option is used in MySQL versions 5.5 and later. To resolve this issue, replace TYPE with ENGINE and specify the desired storage engine, as follows:
The ENGINE option defines the storage engine to be used for the table, which in this case is MyISAM. As a reminder, the TYPE option became synonymous with ENGINE from MySQL version 4.0 and has since been removed, making its use unsupported.
The above is the detailed content of Why Am I Getting a '1064 Error in CREATE TABLE ... TYPE=MYISAM' and How Do I Fix It?. For more information, please follow other related articles on the PHP Chinese website!