mysql 查看主从状态
摘要:
在从库执行如下命令 show slave status\G 查看Seconds_Behind_Master字段内容,单位为秒, 如 40214 为40214 秒。 如果想使从库与主库一致,则: stop slave; set GLOBAL SQL_SLAVE_SKIP_COUNTER=1;start 阅读全文
posted @ 2018-03-27 09:28 ziyi_ang 阅读(684) 评论(0) 推荐(0)
posted @ 2018-03-27 09:28 ziyi_ang 阅读(684) 评论(0) 推荐(0)