How to recover a corrupt SQLite3 database?

前端 未结 12 2121
走了就别回头了
走了就别回头了 2020-11-28 03:46

This is a follow up question to a previously answered post: Is there a command line utility for validating SQLite databases in Linux?

If a database is producing the

12条回答
  •  我在风中等你
    2020-11-28 04:05

    I have fixed database corruption caused by missing indexes with these steps and they are working for me.

    1. DROP Index: sqlite drop index command

    2. Run vacuum Sqlite vacuum command

    3. Recreate index again : Sqlite create index

提交回复
热议问题