On 8/29/2014 7:40 PM, Suresh Kuna wrote:
You can paste the show slave status\G here for us to review  and on Master,
show global variables like 'log-bin%'; show master status ( 3 to 4 times
continuously )

Master:
+------------------+----------+--------------+------------------+
| File             | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.001225 |      107 |              |                  |
+------------------+----------+--------------+------------------+
1 row in set (0.00 sec)

Slave
***************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: 192.168.10.101
                  Master_User: repl
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.001225
          Read_Master_Log_Pos: 107
               Relay_Log_File: ubuntu2-relay-bin.000002
                Relay_Log_Pos: 16426
        Relay_Master_Log_File: mysql-bin.001139
             Slave_IO_Running: Yes
            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: 1062
Last_Error: Error 'Duplicate entry '18699' for key 'PRIMARY'' on query. Default database: 'Information_server'. Query: 'insert into audit (audit_type, subtype, user_Id, ptNum, data) values ('login', 'login', 'WPD', 0, 'Login: WPD from location: Suite B')'
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 90012430
              Relay_Log_Space: 29727610
              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: 0
                Last_IO_Error:
               Last_SQL_Errno: 1062
Last_SQL_Error: Error 'Duplicate entry '18699' for key 'PRIMARY'' on query. Default database: 'Information_server'. Query: 'insert into audit (audit_type, subtype, user_Id, ptNum, data) values ('login', 'login', 'WPD', 0, 'Login: WPD from location: Suite B')'
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 3
1 row in set (0.00 sec)


1 transaction entered:
Master:
+------------------+----------+--------------+------------------+
| File             | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.001225 |     1837 |              |                  |
+------------------+----------+--------------+------------------+
1 row in set (0.00 sec)

SLave
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: 192.168.10.101
                  Master_User: repl
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: mysql-bin.001225
          Read_Master_Log_Pos: 1837
               Relay_Log_File: ubuntu2-relay-bin.000002
                Relay_Log_Pos: 16426
        Relay_Master_Log_File: mysql-bin.001139
             Slave_IO_Running: Yes
            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: 1062
Last_Error: Error 'Duplicate entry '18699' for key 'PRIMARY'' on query. Default database: 'Information_server'. Query: 'insert into audit (audit_type, subtype, user_Id, ptNum, data) values ('login', 'login', 'WPD', 0, 'Login: WPD from location: Suite B')'
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 90012430
              Relay_Log_Space: 29729340
              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: 0
                Last_IO_Error:
               Last_SQL_Errno: 1062
Last_SQL_Error: Error 'Duplicate entry '18699' for key 'PRIMARY'' on query. Default database: 'Information_server'. Query: 'insert into audit (audit_type, subtype, user_Id, ptNum, data) values ('login', 'login', 'WPD', 0, 'Login: WPD from location: Suite B')'
  Replicate_Ignore_Server_Ids:
             Master_Server_Id: 3
1 row in set (0.00 sec)






--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql

Reply via email to