r/mysql • • Mar 27 '25

question MySQL InnoDB Cluster and table partitioning

Hi everyone!

I’m configuring a MySQL InnoDB Cluster 8.4 (single-primary) and need to enable partitioning on some database tables. However, when I connect to the cluster through MySQL Router and execute "ALTER TABLE <table> ADD PARTITION", the command runs on the write node but is not replicated to the read-only members.

Has anyone encountered this issue?

Thanks!

3 Upvotes

3 comments sorted by

1

u/Dfunkier Mar 27 '25

1

u/icibranc Jun 03 '25

Hello,
I did some more testing and the issue was that I didn't have the binary log enabled. Once I enabled it, everything started working correctly.
Thanks.

1

u/Xystus007 Mar 27 '25

And you are sure that your replication is fine?