Markoothebrave
New Member
- Joined
- Jun 25, 2009
- Messages
- 17
- Reaction score
- 0
We'll I'm making an ots based on theforgottenserver-v0.2.5/mystic spirit.
I arleady imported my database, made account maker which works quite good I think.
Now I've got problem when I try to change items of "sample characters" I can't make a GM in database, because it's locked?
I try to change group_id from 1 to 6 and there's an error
Błąd
zapytanie SQL: Edytuj
UPDATE `kupa`.`players` SET `group_id` = '6' WHERE `players`.`id` =9 LIMIT 1
MySQL zwrócił komunikat: Dokumentacja
#1452 - Cannot add or update a child row: a foreign key constraint fails (`kupa/players`, CONSTRAINT `players_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`))
I arleady imported my database, made account maker which works quite good I think.
Now I've got problem when I try to change items of "sample characters" I can't make a GM in database, because it's locked?
I try to change group_id from 1 to 6 and there's an error
Błąd
zapytanie SQL: Edytuj
UPDATE `kupa`.`players` SET `group_id` = '6' WHERE `players`.`id` =9 LIMIT 1
MySQL zwrócił komunikat: Dokumentacja
#1452 - Cannot add or update a child row: a foreign key constraint fails (`kupa/players`, CONSTRAINT `players_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`))