How to deal with MySQL Error 2013
Some time ago I was having problem with my script that backups all the databases on the server - one day it just began to produce empty sql files. When I ran script manually I saw unpleasant: Error 2013: Lost connection to MySQL server while dumping one of the tables - hence empty backups. First I tried to check table, repair it and optimize it, but with no luck. So I took a look at syslog (I guess should have done that first) and saw to my surprise: InnoDB: Database page corruption on disk (…) I will spare you the googling and give you solution that might help you too.