• 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

    (@123milliseconds)

    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.