Jump to content
Sign in to follow this  
hp.

Clearing a survivor table.

Recommended Posts

I was trying to wipe my players survivor/profile tables and I get this error for three of the survivor tables.

#1451 - Cannot delete or update a parent row: a foreign key constraint fails (`dayz2`.`instance_deployable`, CONSTRAINT `instance_deployable_ibfk_2` FOREIGN KEY (`owner_id`) REFERENCES `survivor` (`id`))

Anyone have any advice for me?

Edited by hp.

Share this post


Link to post
Share on other sites

1. idk

2. how do you whipe your player survivor profile tables?

You need to have full database access. Go into the database and dump to profile/survivor tables.

Share this post


Link to post
Share on other sites

well, if it's saying that, I'm thinking that the DB is linking one of your players to a tent that he can still take down since he hasn't died. Just a guess though.

One thing you can try is exporting your DB to your computer, edit it, then import the edit back in.

Edited by King Scuba

Share this post


Link to post
Share on other sites

well, if it's saying that, I'm thinking that the DB is linking one of your players to a tent that he can still take down since he hasn't died. Just a guess though.

One thing you can try is exporting your DB to your computer, edit it, then import the edit back in.

That is where I am confused, what do I edit?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×