mysqldump: Error 1317: Query execution was interrupted when dumping table `786_art` at row: 5005
 本想备份数据导入另一个服务器的 可是总是出现这个错误。求解。

解决方案 »

  1.   

    检查一下 `786_art`表中5005行记录的内容 是什么 
      

  2.   

    每次备份都是不同行的错误提示
    [root@new 67786.com]# mysqldump -h localhost -u c67786 -p c67786 >1.sql
    Enter password:
    mysqldump: Error 1317: Query execution was interrupted when dumping table `786_art` at row: 52679
    [root@new 67786.com]# mysqldump -h localhost -u c67786 -p c67786 >1.sql
    Enter password:
    mysqldump: Error 1317: Query execution was interrupted when dumping table `786_art` at row: 96465
    [root@new 67786.com]# mysqldump -h localhost -u c67786 -p c67786 >1.sql
    Enter password:
    mysqldump: Error 1317: Query execution was interrupted when dumping table `786_art` at row: 57901
    [root@new 67786.com]#  mysqldump -h localhost -u c67786 -p c67786 >1.sqlEnter password:
    mysqldump: Error 1317: Query execution was interrupted when dumping table `786_art` at row: 61770
      

  3.   

    什么 系统、磁盘什么格式(NTFS)?
      

  4.   

    配置文件中增加此参数值的大小试下
    max_allowed_packetor升级MYSQL试试