# Database Corrupt Error Message

**URL:** https://community.enginedj.com/t/database-corrupt-error-message/14024
**Category:** Standalone Controllers
**Tags:** engine-os, prime4
**Created:** [June 12, 2019, 3:48pm UTC](https://community.enginedj.com/t/database-corrupt-error-message/14024 "2019-06-12T15:48:20Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![Graham.O](https://community.enginedj.com/letter_avatar_proxy/v4/letter/g/3da27b/32.png) [@Graham.O](https://community.enginedj.com/u/Graham.O)
#### Post date: [April 19, 2020, 9:57am UTC](https://community.enginedj.com/t/database-corrupt-error-message/14024/19 "2020-04-19T09:57:23Z")

</div>

Hi,  
For repair corrupt database, follow this procedure :

PFD File with each screen : [Corrupt database.pdf](https://community.enginedj.com/uploads/short-url/2fs7QmUX4qVIBAPk60kl9y4nAZC.pdf) (507.4 KB)

1. Copy All files from the « Engine Library » on your computer

2. Download [https://sqlitebrowser.org/](https://sqlitebrowser.org/)

3. Install The software

4. Open Database corrupt (Often : M.DB and P.DB)

5. Select Tool / Integrity Check

6. Select OK

7. Error appears : It’s necessary to make a new database

8. Export Database to SQL File

9. Select All and Save

10. Save the SQL File

11. Database Exported

12. Close Database

13. Import in new database

14. Select previous SQL File

15. Create a folder and export the file with the same name

16. Database Imported

17. Save Database

18. Copy the new correct database on your Device

19. Enjoy 😛

---

_[View the full topic](https://community.enginedj.com/t/database-corrupt-error-message/14024)._
