Error (near “ON” at position 25) while importing Table for WORDPRESS ( A foreign key Error)

When I’m trying to add a big file to my WordPress database, I keep getting errors like this:

To solve this errors you can following this simple step:

  1. Goto XAMPP control panel>
  2. Stop Apache and MySql services>
  3. Click on Config of Apache>select php.ini and change the followings:
max_execution_time = 600
max_input_time = 600
memory_limit = 1024M
post_max_size = 1024M

Note:- Changing php.ini at C:\xampp\php\php.ini

4. Click on Config button of MySql and select my.ini and change:

max_allowed_packet = 1024M

Note:- Changing my.ini at C:\xampp\mysql\bin\my.ini

5. Again Start the services and try.. I hope it will work.

Thank you for visiting our blog post.

Related Posts

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence