MyBB Community Forums

Full Version: error when installing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
those are error info while installing the myBB,how to solve it?



-----------------------------------------------------
MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1062 - Duplicate entry '1' for key 1
Query:
INSERT INTO mybb_attachtypes (atid, name, mimetype, extension, maxsize, icon) VALUES (1, 'ZIP File', 'application/zip', 'zip', 1024, 'images/attachtypes/zip.gif');
----------------------------------------------------------
Make sure you delete all the tables before you try reinstalling mybb.
To do this in phpmyadmin you select all the tables then click the 'X' button at the bottom of them all.
Shouldn't really make a difference, I install over a current installation on my localhost quite often... is this even a reinstall, or a first install...??
(2009-07-21, 11:21 AM)MattRogowski Wrote: [ -> ]Shouldn't really make a difference, I install over a current installation on my localhost quite often... is this even a reinstall, or a first install...??

True but it sometimes happens to me when i'm importing databases through PHPMyAdmin.
THX. have solved it.