lichaoyue888 发表于 2018-10-1 06:09:43

mysql 双机相互热备

mysql> show slave status\G;  
*************************** 1. row ***************************
  
            Slave_IO_State: Connecting to master
  
                Master_Host: 192.168.100.200
  
                Master_User: tbmysql
  
                Master_Port: 3306
  
            Connect_Retry: 60
  
            Master_Log_File: mysql-bin.000001
  
      Read_Master_Log_Pos: 98
  
            Relay_Log_File: mysqld-relay-bin.000001
  
            Relay_Log_Pos: 98
  
    Relay_Master_Log_File: mysql-bin.000001
  

  
            Replicate_Do_DB: hello
  
      Replicate_Ignore_DB: mysql,test,information_schema
  
      Exec_Master_Log_Pos: 98
  
            Relay_Log_Space: 98
  
            Until_Log_Pos: 0
  
    Seconds_Behind_Master: NULL
  
1 row in set (0.00 sec)


页: [1]
查看完整版本: mysql 双机相互热备