Cakephp 3.x: SQLSTATE[HY000]: General error: 11 database disk image is malformed

孤街醉人 提交于 2019-12-03 06:38:54

Delete the /tmp/debug_kit.sqlite

Delete the tmp folder

Delete the /tmp/*

if you are getting further permission issue the set 777 permission to cakephp folder

chmod -R 777 bookmarker

Delete the /tmp/* directory. Hope it should be solved.

I just had the samme issue on my machine with OSX 10.11 w/ MAMP (MySQL + Apache 2)

It helped to clear the tmp/ directory within the cake3 installation - the problem persisted throughout different databases, so I figured it must have been an issue with local files rather than the database.

This error may be caused by a hardware, file system or Operating System fault causing corruption to the Disk Safe file. Disk Safe viability, in part, relies on the stability of the underlying hardware and Operating System of the host storage device.

The safest solution is to create a new Disk Safe as soon as Server Backup reports that the database disk image is malformed. In some situations, the Disk Safe may still be usable for restoring recovery points that were created before the Disk Safe reported a corruption. However, we have no way to determine the extent of the corruption or if the workaround mentioned below will be able to repair the Disk Safe. In addition, we do not expect that a corrupt Disk Safe will be successful in a bare metal restore.

You may attempt to repair the Disk Safe by running a Disk Safe Verification (DSV) task (introduced in Server Backup v5.2.0) against the Disk Safe with the malformed image. The DSV will check the most recent recovery point to ensure all blocks are accounted for. If the disk safe fails to verify, a repair attempt will be made during the next replication task which will attempt to reconcile any missing blocks from the recovery point.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!