

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 Questions & Answers
- 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 Unknown database in JDBC error with Java-MySQL?
- Resolve the error Column count doesn’t match value count in MySQL?
- Resolve an error whenever multiple rows are returned in MySQL Benchmark?
- Resolve Syntax error near “ORDER BY order DESC” in MySQL?
- MyISAM versus InnoDB in MySQL?
- Error 1046 No database Selected, how to resolve?
- How to resolve the ERROR 1115 (42000): Unknown character set: 'utf8mb4'?
- Resolve ERROR 1064 (42000) that occurred after using varchar (without providing the size)
- Fix Error with TYPE=HEAP for temporary tables in MySQL?
- Converting table from MyISAM to INNODB in MySQL?
- MySQL - changing table engine from innoDB to MyISAM?
- How to resolve the MySQL error “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?”
- What is -551 error code in DB2? How will you resolve it?
Advertisements