Cakephp 3.x: SQLSTATE [HY000]: general error: 11 database disk image is damaged

I get this error when I load my application on Linux. This works fine on my local Windows system, but gives me an error on a Linux server. When I searched for this, I found that this is a sqlite related issue. If this is a sqlite problem, then how can I change this to MySQL.

Please help me.

+7
php mysql cakephp
source share
5 answers

Delete / tmp / debug_kit.sqlite

+21
source share

Delete tmp folder

Delete / tmp / *

if you get additional permissions, set the resolution to 777 for the cakephp folder

chmod -R 777 bookmarker

+4
source share

I only have a samme problem on my machine with OSX 10.11 w / MAMP (MySQL + Apache 2)

This helped to clean the tmp / directory as part of the cake3 installation - the problem persisted in different databases, so I decided that it must be a problem with local files, not the database.

+1
source share

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

+1
source share

This error can be caused by a hardware, file system, or operating system failure that causes Disk Safe file corruption. Drive viability, in particular, depends 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 corrupt. In some situations, Disk Safe can still be used to restore recovery points that were created before Disk Safe reported corruption. However, we cannot determine the degree of corruption, or if the workaround mentioned below can restore Disk Safe. In addition, we do not expect damaged Disk Safe to be successful in recovering pure metal.

You can try to restore Disk Safe by running the Disk Safe Verification (DSV) task (introduced in Server Backup v5.2.0) against Disk Safe with a distorted image. DSV will check the latest recovery point to ensure that all blocks are accounted for. If the secure drive is not checked, during the next replication task, a recovery attempt will be made that will attempt to reconcile any missing blocks from the recovery point.

-2
source share

All Articles