Home > Database > Mysql Tutorial > Why Am I Getting a '1064 Error in CREATE TABLE ... TYPE=MYISAM' and How Do I Fix It?

Why Am I Getting a '1064 Error in CREATE TABLE ... TYPE=MYISAM' and How Do I Fix It?

Linda Hamilton
Release: 2024-12-12 19:47:09
Original
532 people have browsed it

Why Am I Getting a

Resolving "1064 Error in CREATE TABLE ... TYPE=MYISAM"

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template