Jump to content

Eroare Instalare Baza De Date Mysql Ipb: Duplicate Entry


Recommended Posts

Salut,am facut backup la baza de date mysql de la forum prin phpmyadmin.

La instalare (aceasi platforma,aceeasi versiune) ,arhivez baza.sql/zip,dar prezinta urmatoarea eroare:

Comanda SQL:

-- -- Salvarea datelor din tabel `admin_login_logs` -- INSERT INTO `admin_login_logs` (`admin_id`, `admin_ip_address`, `admin_username`, `admin_time`, `admin_success`, `admin_post_details`) VALUES (342, '', 'Robert.', 1384596125, 1, 'a:2:{s:3:"get";a:4:{s:6:"adsess";s:0:"";s:3:"app";s:4:"core";s:6:"module";s:5:"login";s:2:"do";s:14:"login-complete";}s:4:"post";a:3:{s:7:"qstring";s:0:"";s:8:"username";s:7:"Robert.";s:8:"password";s:15:"**************7";}}'), (376, '', 'Robert.', 1385223692, 1, 'a:2:{s:3:"get";a:4:{s:6:"adsess";s:0:"";s:3:"app";s:4:"core";s:6:"module";s:5:"login";s:2:"do";s:14:"login-complete";}s:4:"post";a:3:{s:7:"qstring";s:0:"";s:8:"username";s:7:"Robert.";s:8:"password";s:7:"******1";}}'), (375, '', 'Robert.', 1385220986, 1, 'a:2:{s:3:"get";a:4:{s:6:"adsess";s:0:"";s:3:"app";s:4:"core";s:6:"module";s:5:"login";s:2:"do";s:14:"login-complete";}s:4:"post";a:3:{s:7:"qstring";s:0:"";s:8:"username";s:7:"Robert.";s:8:"password";s:7:"**[...]

MySQL zice: Documentație
#1062 - Duplicate entry '342' for key 'PRIMARY' 

Cum pot rezolva problema ?


Link to comment
Share on other sites

Sa inteleg ca ai facut back-up la forumul de pe Host1 si l-ai instalat din nou pe Host2. Acum, vrei sa importi baza de date pe Host2 si primesti eroarea de mai sus. Corect?
Daca e asa, atunci ai sters inainte sa faci import-ul baza de date creata odata cu instalarea forumului?


Cel mai bine era sa copiezi si fisierele de pe Host1 urmand sa la pui pe Host2, dupa care sa importi baza de date, modificand conf_global.php si setarile necesare din ACP (catre folder-ul upload, etc).

  • Upvote 2

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.