flush tables with read lock可能导致show slave hosts不对

老主库上执行flush tables with read lock

然后把所有从库change master to  到其他机器

在老主库上show processlist还能够看到从库的链接

原文地址:https://www.cnblogs.com/sq892246139/p/8039939.html