While performing mysql replication i am observing below issue:
Pre requistes : I have three mysql databases all located on different machines. Lets suppose we have db1,db2,db3 and each of them have one table languages db1 is the master of db2 db2 is the slave of db1 and master of db3 db3 is the slave of db2
Scenario 1 while inserting something in language table of db1 changes are reflected to db2 in language tables but it doesnot propagate to db3 language table.
Expectation - since db3 is the slave of db2 then above change should reflect in db3 as well but its not happening
Scenario 2 but while inserting something in language table of db2 changes are reflected in language table of db3 perfectly.
I dont know whats the gap while inserting into db1
Please suggest if any configuration needs to be done
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey @messielectra
You’re likely running with the log_slave_updates configuration variable disabled. With replication between db1 and db2; the events that are replicated to db2 are not logged in the replication logs (binary logs). Having log_slave_updates enabled on db2 the events are logged to the binary log and will be consumed by db3.
HTH
BR
Andrew
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.