Jump to content
MakeWebGames

when i import data files


Bubbl3z
 Share

Recommended Posts

SQL query:

INSERT INTO `phaos_characters`

VALUES ( 139454, 31135, 'phaos_npc', 'Crystal Slime', 1, 'Male', 3, 8, 3, 2, 243, 12, 'Small Aberration', '', 4, '1', 22, 34, 'images/monster/forest_troll.gif', 0, 0, 0, 0, 0, 1216153664, 0, 50, 1216153664, 5, 2, 7, 1, 2, 1120033928, 0, 0, 0, 0, 0 ) ;

 

MySQL said:

#1062 - Duplicate entry '139454' for key 1

Link to comment
Share on other sites

Re: when i import data files

Am i right in thinking that the info being enetered into the database is already there in it? Or atleast a part of it... A duplicate error i recall is that there's a column in your database that has a unique key defined on it, so any time it see's that data is being entered into that column that is identical to data already in the column, you get that error.

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.

Guest
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.

 Share

×
×
  • Create New...