PHP error

In PHP, if you get some error like this –

 

Error No. – 1064

 

Error Message – Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ENGINE = MYISAM’ (at line 10)

 

 

The problem is with the MySQL installation. search for all the SQLs inside your code for term –

ENGINE = MYISAM

and replace it with

TYPE = MYISAM

 

Therefore, you need to replace every occurrence of string ENGINE with TYPE.

Leave a Reply

Your email address will not be published. Required fields are marked *