Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1561

Replication of alter via stored procedures (no replies)

$
0
0
I have a stored procedure that creates an alter statement that adds 3 columns to a table.

In the sproc, the text of the alter statement is added to a variable. Then I run a PREPARE newCmd from @mysql. I then execute the newCmd and DEALLOCATE newCMD.


It works great when I run it on the master server. However, it seems like the alter command never gets to the slave.

Is there something about replication that I'm missing?

Viewing all articles
Browse latest Browse all 1561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>