List:Replication« Previous MessageNext Message »
From:Ben Wiechman Date:July 3 2008 8:30pm
Subject:Slave status lists replicate_do_db twice
View as plain text  
I just noticed that my slaves are listing the Replicate_Do_DB twice. Is this
normal? 

mysql> show slave status \G
*************************** 1. row ***************************
             Slave_IO_State: Waiting for master to send event
                Master_Host: 10.0.1.10
                Master_User: repl
                Master_Port: 3306
              Connect_Retry: 60
            Master_Log_File: db1.001721
        Read_Master_Log_Pos: 876661316
             Relay_Log_File: mysqld-relay-bin.000002
              Relay_Log_Pos: 29546968
      Relay_Master_Log_File: db1.001721
           Slave_IO_Running: Yes
          Slave_SQL_Running: Yes
            Replicate_Do_DB: radius,radius
        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: 876661316
            Relay_Log_Space: 29546968
            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: 0
1 row in set (0.00 sec)

/etc/my.cnf
[mysqld]
# Replication
server_id       = 2
replicate_do_db = radius
report_host     = dhcp1
report_user     = repl

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log_error=/var/log/mysqld.log
pid_file=/var/run/mysqld/mysqld.pid

Running mysql-server-5.0.45-7.el5 on CentOS 5.2.

Ben Wiechman


Thread
Slave status lists replicate_do_db twiceBen Wiechman3 Jul
  • Re: Slave status lists replicate_do_db twiceMarcus Bointon4 Jul