-4

I move whmcs to second server and try import database.

I get issue:

ERROR 1062 (23000) at line 277470: Duplicate entry '0' for key 'PRIMARY'

In this line I have:

    --
    -- Indeksy dla tabeli `tblactivitylog`
    --
    line 277470    ALTER TABLE `tblactivitylog`
  ADD PRIMARY KEY (`id`),
      ADD KEY `userid` (`userid`),
      ADD KEY `user_id` (`user_id`),
      ADD KEY `admin_id` (`admin_id`);

I'm not sure how to solve this error?

1
  • 3
    "how to solve this error?" -- remove duplicates, may be?
    – mustaccio
    Jun 22 at 22:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.