Missing expression. (near on at position 25)

In this tutorial i’m going to solve Error (Missing expression near “ON” at position 25) while importing Table for WORDPRESS ( A foreign key Error). So follow this tutorial i have solve this issue in this tutorial.

Some time When we import the large database file then shows the errors like as below:

1st step

Xampp stop

2nd step go to below path


3rd step search below code and replace as define below


Change code


Save and exit.

4th step

Restart the xampp and go to phpyadmin and drop all table whatever you have uploaded before, and upload again then your problem has been solved.

Thanks for learning 👍👍

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.
0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x