Report this

What is the reason for this report?

How to display client data into master in mysql

Posted on July 19, 2017

I have master-client replication system set up and the master data is being displayed in the client. Is there a way to sync the client details into mater?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @Amrutha

I’m guessing you’re talking about MySQL Master-Slave Replication. In that case, you should never write (INSERT or UPDATE) to your slave’s replicated database. You might end up breaking your replication. https://dba.stackexchange.com/questions/9248/in-a-mysql-master-slave-replication-what-would-happen-if-i-write-to-the-slave

Or did I misunderstand what you’re asking for?

@hansen

I have set up the master - master replication. So now when i create a table in master1 its getting displayed in master2, but when i create a table in master 2 it does not show up in master 1.

According to this master-master replication the data should travel both ways right?

@hansen

Thanks a lot for the info. This did help.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.