I'm using mysql version 5.0.5 and trying to dump my data, in order to prepare for version upgrading, and get an error.
I run:
./mysqldump -u root -p --add-drop-table --all-databases > /data/all_db_dump.mysql
And get:
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `abc` at row: 408640
I went over some similar questions and found some suggestions:
- run with
--skip-extended-insert- Did not help - run with
--hex-blob- Did not help - configured
max_allowed_packetto 1024M - Did not help (I have 4 GB RAM) - configured
net_read_timeoutto 7200 - Did not help - configured
net_write_timeoutto 7200 - Did not help
For all of the above and get the same error.
I monitored the server's memory while dumping the data and didn't see any issue. What could be the issue?
my.cnfconfiguration. Isn't it? As for the upgrade, i'm planning to upgrade directly from 5.0 to 5.7. I've an article which explain it possible. http://mysqlserverteam.com/upgrading-directly-from-mysql-5-0-to-5-7-using-an-in-place-upgrade/ What do you think about that? – Omri May 17 '17 at 09:17Error: page 2293761 log sequence number 1587 553576633 is in the future! Current system log sequence number 1574 4154952816. Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. – Omri May 17 '17 at 11:33