问题
如果底层数据库已损坏,则可能会出现“数据库映像格式错误”错误。如果驱动器在数据库操作期间以某种方式关闭,或者低级内核级进程干扰 SQL 操作(Tenebril 的 SpyCatcher 已观察到这种情况),则可能会发生这种情况。
解决方案
在 MediaMonkey 5 及更高版本中,首先尝试“文件”>“管理数据库” ,然后选择“重建数据库” ,让它尝试修复您的数据库。
如果您使用的是 MediaMonkey 4 或更早版本,或者重建数据库未能解决问题,则需要手动删除损坏的数据库文件(mm5.db/mm.db),以便在 MediaMonkey 启动时创建一个新的数据库文件。这将导致您的 MediaMonkey 媒体库(包括播放列表和播放历史记录)丢失。Windows 版 MediaMonkey 数据库的存储方式请参见: 知识库文章:修改 MediaMonkey 数据库和设置文件/更改默认数据库位置
预防
要更改数据库健壮性,请参阅: 知识库:配置数据库性能/健壮性
MediaMonkey 5 及更高版本可以设置为自动创建数据库备份。这样,您就可以恢复到数据库损坏之前的旧版本(具体取决于您的备份设置)。有关数据库备份的信息,请参阅: 知识库:如何备份和恢复 MediaMonkey 库
恢复
如果您在 Windows 5 或更高版本的 MediaMonkey 上启用了备份功能,您可以尝试查看是否有未损坏的备份可以恢复。
在 MediaMonkey for Windows 4 中,如果您没有可用的数据库备份,您可以尝试使用第三方插件,例如恢复/同步数据库插件,该插件可能能够从损坏的数据库中导入信息。
Problem
‘Database image is malformed’ errors can occur if the underlying database has been corrupted. This can happen if the drive is somehow shut down during a database operation or if a low level kernel level process is interfering with SQL operations (this has been observed with SpyCatcher by Tenebril).
Solution
On MediaMonkey 5 and newer, first try File > Manage database and select Rebuild database and let it attempt to repair your database.
If you’re on MediaMonkey 4 and older or Rebuild Database didn’t fix the issue, you’ll need to manually delete the corrupt database file (mm5.db/mm.db) so that a new one will be created on MediaMonkey start. This will result in the loss of your MediaMonkey Library (including Playlists and Play History). The MediaMonkey for Windows database is stored as described at: KB: Modifying the MediaMonkey database and settings files / changing the default database location
Prevention
To change the database robustness see: KB: Configure Database Performance / Robustness
MediaMonkey 5 and newer can be set to automatically create backups of the database. This would allow you to revert to an older copy (depending on how far your backups are set to go back) before the database became malformed. For backup of the database see: KB: How to Backup and Recover a MediaMonkey Library
Recovery
If you enabled Backups on MediaMonkey for Windows 5 or newer you can try to see if there is an uncorrupted backup you can recover.
In MediaMonkey for Windows 4, if you don’t have a working backup of the database you can try to use a Third Party Addon like the Restore/Synchronize Database Addon, which may be able to import information from a corrupt database.
Applies to: MMW2024+, MMW4, MMW5+
Hide original