mysql> SHOW SLAVE STATUS\G
*************************** 1. row ***************************
Slave_IO_State:
Master_Host: server1
Master_User: repl
Master_Port: 3306
Connect_Retry: 60
Master_Log_File: mysql-bin.000001
Read_Master_Log_Pos: 4
Relay_Log_File: mysql-relay-bin.000001
Relay_Log_Pos: 4
Relay_Master_Log_File: mysql-bin.000001
Slave_IO_Running: No
Slave_SQL_Running: No
...omitted...
Seconds_Behind_Master: NULL
本文展示了通过MySQL命令SHOW SLAVE STATUS G获取的从库状态详情。内容包括从库的IO状态、主服务器连接信息、读取及中继日志位置等关键指标,有助于理解从库同步的工作状态。
2706

被折叠的 条评论
为什么被折叠?



