zjxhx 发表于 2018-10-4 08:56:55

将Uhost上的MySQL迁移到UDB-Linux SA John-51CTO博客

mysql> stop slave;  
Query OK, 0 rows affected, 1 warning (0.00 sec)
  

  
mysql> show slave status\G
  
*************************** 1. row ***************************
  
               Slave_IO_State:
  
                  Master_Host: 10.4.3.149
  
                  Master_User: repl_user
  
                  Master_Port: 3306
  
                Connect_Retry: 60
  
            Master_Log_File: mysql-bin.000006
  
          Read_Master_Log_Pos: 351201559
  
               Relay_Log_File: mysql-relay.000016
  
                Relay_Log_Pos: 15191656
  
      Relay_Master_Log_File: mysql-bin.000006
  
             Slave_IO_Running: No
  
            Slave_SQL_Running: No
  
            Replicate_Do_DB:
  
          Replicate_Ignore_DB:
  
         Replicate_Do_Table:
  
       Replicate_Ignore_Table:
  
      Replicate_Wild_Do_Table:
  
Replicate_Wild_Ignore_Table:
  
                   Last_Errno: 0
  
                   Last_Error:
  
               Skip_Counter: 0
  
          Exec_Master_Log_Pos: 351201559
  
            Relay_Log_Space: 15191808
  
            Until_Condition: None
  
               Until_Log_File:
  
                Until_Log_Pos: 0
  
         Master_SSL_Allowed: No
  
         Master_SSL_CA_File:
  
         Master_SSL_CA_Path:
  
            Master_SSL_Cert:
  
            Master_SSL_Cipher:
  
               Master_SSL_Key:
  
      Seconds_Behind_Master: NULL
  
Master_SSL_Verify_Server_Cert: No
  
                Last_IO_Errno: 2003
  
                Last_IO_Error: error reconnecting to master 'repl_user@10.4.3.149:3306' - retry-time: 60retries: 86400
  
               Last_SQL_Errno: 0
  
               Last_SQL_Error:
  
Replicate_Ignore_Server_Ids:
  
             Master_Server_Id: 1
  
1 row in set (0.00 sec)
  

  
mysql>


页: [1]
查看完整版本: 将Uhost上的MySQL迁移到UDB-Linux SA John-51CTO博客