Title: Error when importing form sql files
Last modified: August 19, 2016

---

# Error when importing form sql files

 *  [jsquared](https://wordpress.org/support/users/jjspelman/)
 * (@jjspelman)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/error-when-importing-form-sql-files/)
 * I am receiving the following error when trying to import a sql file from PhpAdmin:
 * Error
    SQL query:
 * —
    — Dumping data for table `wp_avhec_category_groups` — INSERT INTO `wp_avhec_category_groups`(`
   group_term_id` , `term_id` ) VALUES ( 10, 3 ) , ( 10, 7 ) ;
 * MySQL said:
 * #1062 – Duplicate entry ’10-3′ for key 1
 * The file was provided by a previous host where the site used to be hosted. Would
   rather they have used the backup plug in for WP but this is all I got.
 * Can anyone shed some light on this?

Viewing 1 replies (of 1 total)

 *  [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * (@123milliseconds)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/error-when-importing-form-sql-files/#post-1900068)
 * HI
 * group_term_id 10 , term_id 3
 * already exits in wp_avhec_category_groups
 * empty the file completely (!!! if that is what you want) before you add the new
   content

Viewing 1 replies (of 1 total)

The topic ‘Error when importing form sql files’ is closed to new replies.

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [sql-error](https://wordpress.org/support/topic-tag/sql-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/error-when-importing-form-sql-files/#post-1900068)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
