# Rebuild database without reinstalling everything

**URL:** <https://forum.mautic.org/t/rebuild-database-without-reinstalling-everything/25565>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [October 1, 2022, 1:09pm UTC](https://forum.mautic.org/t/rebuild-database-without-reinstalling-everything/25565 "2022-10-01T13:09:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![modifiedcontent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/modifiedcontent/32/511_2.png) [@modifiedcontent](https://forum.mautic.org/u/modifiedcontent)\
**Post date:** [October 3, 2022, 1:29pm UTC](https://forum.mautic.org/t/rebuild-database-without-reinstalling-everything/25565/6 "2022-10-03T13:29:49Z")

</div>

Thanks for the suggestion, @techbill. No it wasn’t. I’ve been on MariaDB since forever/long time as far as I know.

@joeyk, I don’t know how it got damaged; I’ve never done anything unusual as far as I know. I do get [foreign key constraint errors](https://forum.mautic.org/t/csv-imports-fail-stalling-in-progress-runtime-less-than-1-second/25199).

At this point I am less interested in figuring out “how it got damaged” - there are apparently no answers or solutions anyway. I am not even entirely sure which problems are connected. I am looking for the least invasive solution to restore and be able to move forward.

---

_[View the full topic](https://forum.mautic.org/t/rebuild-database-without-reinstalling-everything/25565)._
