Magento site down due to mysql error General error: 1030 Got error -1 from storage engine

This error is generated when InnoDB cannot write to its data files.

I have seen reports of this when the disk is full.
if the files or folder permission changed so you can't write to them.
try deleting the folders var/cache and var/session.

Another report was when someone enabled innodb_force_recovery to a value greater than 0, not realizing that in recovery modes >0, InnoDB is effectively read-only.

Nikunj K

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.