昨日,在使用mysqlpump备份数据库时发现,mysqlpump一启动就会卡起。
尝试了几次还是这样,查看数据库err日志并没有什么异常,除了下面的:
Aborted connection 24 to db: 'unconnected' user: 'root' host: 'localhost' (Got an error reading communication packets)
Aborted connection 26 to db: 'unconnected' user: 'root' host: 'localhost' (Got an error reading communication packets)
Aborted connection 29 to db: 'unconnected' user: 'root' host: 'localhost' (Got an error reading communication packets)
Aborted connection 23 to db: 'unconnected' user: 'root' host: 'localhost' (Got an error writing communication packets)
Aborted connection 31 to db: 'unconnected' user: 'root' host: 'localhost' (Got an error reading communication packets)
但是跟踪观察err日志发现,这种日志并不是mysqlpump连接时打印的,而是我手工ctrl + c时打印的。
意思就是正常的。
而且我换做mysqldump工具