IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 15 and Version 16 of MySqlReplication


Ignore:
Timestamp:
Nov 7, 2014, 9:41:26 AM (12 years ago)
Author:
Serge CHASTEL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MySqlReplication

    v15 v16  
    113113}}}
    114114
     115= Start/Stop the slave =
     116
     117To start the slave:
     118{{{
     119mysql prompt> START SLAVE;
     120}}}
     121
     122To stop it:
     123{{{
     124mysql prompt> STOP SLAVE;
     125}}}
     126
     127To check it status:
     128{{{
     129mysql prompt> SHOW SLAVE STATUS\G
     130}}}
     131The displayed message looks like:
     132{{{
     133mysql> SHOW SLAVE STATUS\G
     134*************************** 1. row ***************************
     135             Slave_IO_State: Waiting for master to send event
     136                Master_Host: ippdb01
     137                Master_User: ipp
     138                Master_Port: 3306
     139              Connect_Retry: 60
     140            Master_Log_File: mysqld-bin.032506
     141        Read_Master_Log_Pos: 13793409
     142             Relay_Log_File: mysqld-relay-bin.002900
     143              Relay_Log_Pos: 13793547
     144      Relay_Master_Log_File: mysqld-bin.032506
     145           Slave_IO_Running: Yes
     146          Slave_SQL_Running: Yes
     147            Replicate_Do_DB: czardb,gpc1,ippadmin,ipptopsps,megacam,ssp,uip
     148        Replicate_Ignore_DB:
     149         Replicate_Do_Table:
     150     Replicate_Ignore_Table:
     151    Replicate_Wild_Do_Table:
     152Replicate_Wild_Ignore_Table:
     153                 Last_Errno: 0
     154                 Last_Error:
     155               Skip_Counter: 0
     156        Exec_Master_Log_Pos: 13793409
     157            Relay_Log_Space: 13793547
     158            Until_Condition: None
     159             Until_Log_File:
     160              Until_Log_Pos: 0
     161         Master_SSL_Allowed: No
     162         Master_SSL_CA_File:
     163         Master_SSL_CA_Path:
     164            Master_SSL_Cert:
     165          Master_SSL_Cipher:
     166             Master_SSL_Key:
     167      Seconds_Behind_Master: 0
     1681 row in set (0.00 sec)
     169}}}
    115170= Enjoy... =
    116171It might be necessary to tell the slave to ignore some updates: