Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a backup file of my database with phpMyAdmin and checked the following data dump option:

include column names in every INSERT statement Example: INSERT INTO tbl_name (col_A,col_B,col_C) VALUES (1,2,3)

For now I get an error because some tables rows at the beginning of the import already exist, results of the incomplete import.

Is it possible to resume the import of this file, which has already been started but not finished ? I would like to do it without deleting the database content, nor modifying too much of the backup file, is it possible ?

share|improve this question
up vote 2 down vote accepted

I haven't worked with PHPAdmin for a very long time, but it should be able to generate insert ... ignore instead of just insert. If my memory serves me well, there is a checkbox 'using insert ignore' on export/backup page.

share|improve this answer
Indeed, your memory is good. I checked the 'using insert ignore' on my database export and it worked as intended. Thanks ! – B2F Jun 24 '12 at 18:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.