mysql restore 2013失去了与mysql服务器的连接

时间:2016-09-06 09:34:10

标签: mysql timeout restore

我做了备份。转储是240 GB。这是我执行的命令 mysql -u dba -p< XXX.sql 在恢复1小时后,我遇到了这个错误

 '2013 Lost connection to the mysql server during the query'

谷歌之后我改变了这个2参数 max_allowed_pa​​cket = 2148M,net_write_timeout = 10000 但不幸的是,我总是犯同样的错误。 我还尝试在my.cnf innodb_force_recovery = 1中添加此配置 我有错误

Error 1036 at ine 2863: Table  XXX is read only

提前感谢您的帮助

0 个答案:

没有答案