
- Learn MySQL
- MySQL - Home
- MySQL - Introduction
- MySQL - Installation
- MySQL - Administration
- MySQL - PHP Syntax
- MySQL - Connection
- MySQL - Create Database
- MySQL - Drop Database
- MySQL - Select Database
- MySQL - Data Types
- MySQL - Create Tables
- MySQL - Drop Tables
- MySQL - Insert Query
- MySQL - Select Query
- MySQL - Where Clause
- MySQL - Update Query
- MySQL - Delete Query
- MySQL - Like Clause
- MySQL - Sorting Results
- MySQL - Using Join
- MySQL - NULL Values
- MySQL - Regexps
- MySQL - Transactions
- MySQL - Alter Command
- MySQL - Indexes
- MySQL - Temporary Tables
- MySQL - Clone Tables
- MySQL - Database Info
- MySQL - Using Sequences
- MySQL - Handling Duplicates
- MySQL - SQL Injection
- MySQL - Database Export
- MySQL - Database Import
Resolve the MySQL error 'TYPE=MyISAM'?
To fix the error, you just need to replace TYPE with ENGINE. The syntax to set the engine is as follows −
ENGINE = MyISAM;
The MySQL error occurs when TYPE is used. Let us see the same scenario while creating a table −
mysql> create table Customers −> ( −> CustomerId int, −> CustomerName varchar(200) −> )TYPE = MyISAM;
The error is as follows −
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
To resolve the above error, replace TYPE with ENGINE as shown below −
mysql> create table Customers −> ( −> CustomerId int, −> CustomerName varchar(200) −> )ENGINE = MyISAM; Query OK, 0 rows affected (0.24 sec)
The “ENGINE = MyISAM” in MySQL updates successfully.
- Related Articles
- Fix MySQL Error #1064 - You have an error in your SQL syntax… near 'TYPE=MyISAM?
- Resolve MySQL ERROR 1064 (42000): You have an error in your syntax?
- Resolve the error Column count doesn’t match value count in MySQL?
- Resolve Unknown database in JDBC error with Java-MySQL?\n
- Resolve Syntax error near “ORDER BY order DESC” in MySQL?
- Resolve an error whenever multiple rows are returned in MySQL Benchmark?
- Error 1046 No database Selected, how to resolve?
- MyISAM versus InnoDB in MySQL?
- How to resolve the MySQL error “You have an error in your SQL syntax; check the manual\nthat corresponds to your MySQL server version for the right syntax to use near?”
- Fix Error with TYPE=HEAP for temporary tables in MySQL?
- How to resolve the ERROR 1115 (42000): Unknown character set: 'utf8mb4'?
- Resolve ERROR 1064 (42000) that occurred after using varchar (without providing the size)
- Linux – How to resolve the error "can't connect to Docker daemon"
- How to resolve the error that occurs while using a reserved word as a table or column name in MySQL?
- Converting table from MyISAM to INNODB in MySQL?

Advertisements