引用链接地址: http://www.fosiul.com/mysql-server-processlist-shows-negative-value-in-connect-column-for-system-user/
原文:
Mysql Server processlist shows negative value(-) in connect column for system user
Some times process list out put show negative value like bellow :
Command :
watch /usr/local/mysql/bin/mysqladmin -ppass processlist |
8 | system user | | Connect | -1247 | Has read all relay log; waiting for the slave I/O thread to update it |
One of the reason :
make sure both Server has same time zone.
if there is any time difference between 2 server the replicate client show negative values
翻译:
在Slave备库上查看
show processlist;
显示的SQL线程运行时间是负数(negative value):
8 | system user | | Connect | -1247 | Has read all relay log; waiting for the slave I/O thread to update it |
具体原因待确认。