1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 MySQL issue when trying to import users

Discussion in 'Troubleshooting and Problems' started by VampiricPadraig, Oct 16, 2015.

  1. Hi.

    I am trying to import a currently existing 1.5.1 XF install to a new 1.5.1 instance and when trying to import users, I am getting the following message:

    Mysqli statement execute error : Duplicate entry '2' for key 'PRIMARY'
    I seen some other thread saying something about add-on data that is causing this.

    Is there anyway to get around this? We are looking to import the site in and start fresh with less add-ons.

    Any help would be appreciated.

    Thank you in advance.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Are you using the retain IDs option?

    If so, you can't do that with existing content when importing.
    VampiricPadraig likes this.
  3. Ah, that's what it is. I was selecting it.

    I have removed that and restarted it and it seems to be working fine now.

    Thank you very much Brogan :)

Share This Page