what can cause this error

Status
Not open for further replies.

toyin1204

New Member
Messages
5
Reaction score
0
Points
0
i really appreciate you for your effort to make me smile yesterday i got where the error was.

but this is another error display what can be the problem?

[h=1]Error[/h] SQL query:
--
-- Dumping data for table `tbladmins`
--
INSERT INTO `tbladmins` ( `id` , `Name` , `psw` , `email` )
VALUES ( 1, 'admin', 'admin', 'admin@admin.com' ) ;


MySQL said:
#1062 - Duplicate entry '1' for key 'PRIMARY'

what can do please to solve this

thanks
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
It looks like that your import file (if this is what you were trying to do) has an incorrect SQL entry.
The import is trying to create two entries with the same primary ID, which MySQL can't do.
I recommend you check your import file to resolve this and remove the conflicting entry.
 
Status
Not open for further replies.
Top