I'm having a weird replication issue.
We have a small mySQL database. From this we replicate 1 database to several slaves. This worked fine.
One of our slaves had a hardware crash and we had to fully reinstall the slave.
We also re-configured the replication to this slave. However if we look at the "result" we only get some records that are replicated from the master to the slave.
For example:
DOMAINS table has 68 records on the MASTER and only 6 on the newly installed slave
RECORDS tables has 679 records on the MASTER and only 65 on the newly installed slave.
We already installed a 2nd new slave, just to be sure :-) and same issue most of the records are not replicated to the slaves.
If we do a "show slave status\G" on new_slave_1 (or 2) we see that
master_log_file = mysql-bin.000009 (same as on the master)
read_master_log_pos=2788 (same as on the master)
Slave_IO_Running=yes
Slave_SQL_Runnung=yes
(on "old_slave_1" we get the same, but then with the correct record counts)
If we add new records on MASTER, then they are replicated correctly to the newly installed slaves too.
Any ideas on how we can get this replication to work again (towards those newly installed slaves)?
dirk.
We have a small mySQL database. From this we replicate 1 database to several slaves. This worked fine.
One of our slaves had a hardware crash and we had to fully reinstall the slave.
We also re-configured the replication to this slave. However if we look at the "result" we only get some records that are replicated from the master to the slave.
For example:
DOMAINS table has 68 records on the MASTER and only 6 on the newly installed slave
RECORDS tables has 679 records on the MASTER and only 65 on the newly installed slave.
We already installed a 2nd new slave, just to be sure :-) and same issue most of the records are not replicated to the slaves.
If we do a "show slave status\G" on new_slave_1 (or 2) we see that
master_log_file = mysql-bin.000009 (same as on the master)
read_master_log_pos=2788 (same as on the master)
Slave_IO_Running=yes
Slave_SQL_Runnung=yes
(on "old_slave_1" we get the same, but then with the correct record counts)
If we add new records on MASTER, then they are replicated correctly to the newly installed slaves too.
Any ideas on how we can get this replication to work again (towards those newly installed slaves)?
dirk.