Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

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
Sign in to follow this  

×