abdullah
Delete
abdullah
Delete
Last edited by Hyldran0; 11-25-2011 at 01:05 PM.
Shit's Gone Real
Really? No one ?![]()
Shit's Gone Real
Duplicate entry = something with that primary key already exists.
If you really want to force that data in, change the insert statement to a replace statement.
you can do that with the update sql statement.
But as the error suggests, that spell allready exists on that target.
Well it isen't that spell is Bear Form, and i cannot learn it from that Druid trainer i want the spell ti get into..
Shit's Gone Real
Learn how databases and MySQL works, then you will understand the answers given here.
You can delete that spell with
DELETE FROM npc_trainer WHERE enrty=12042 AND spell=5487
and after that just put the insert sql.
And like stoneharry said. Learn it and you will understand.
Have a good day.
I was suspected a better answer but okey..
I'll add them manually instead. thanks for non help.
I was asking for a fix not an more advanced way.
Shit's Gone Real
Dude, wtf? All the answers here are good enough for a person with even really basic SQL knowledge to understand.
You'r picture says everything about you
Well i was looking for a fast fix.
Seems like this forum is dying.
Was better 1-2 years ago.
People where nicer
back to Topic. I fixed it my self now, thanks for no help.![]()
Shit's Gone Real
Change INSERT to REPLACE, worked for me when I just tested it :P
If you need me you have my skype, if you don't have my skype then you don't need me.