1

We have a MySQL database with a replication set up (master to single slave). Some tables are skipped from replication (they are listed in Replicate_Wild_Ignore_Table when calling SHOW SLAVE STATUS). In the slave database the ignored table is present with no data.

The problem is the structure of one of the ignored tables was ALTER'ed on master and this change needs to be propagated to slave.

What is simplest non-breaking way of achieving that? Can I just run ALTER TABLE on slave, adding the necessary columns?

asked May 31, 2019 at 7:03
0

1 Answer 1

1

Never mind. Tried it and it worked without breaking anything.

answered Jun 6, 2019 at 6:59

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.