gh-ost
has been updated to work with Azure Database for MySQL however due to GitHub does not use it, this documentation is community driven so if you find a bug please open an issue!
gh-ost
runs should be setup use--assume-rbr
and usebinlog_row_image=FULL
.- Azure Database for MySQL does not use same user name suffix for master and replica, so master host, user and password need to be pointed out.
- Change the replica server's
binlog_row_image
fromMINIMAL
toFULL
. See guide on Azure document. - Use your
gh-ost
always with additional 5 parameter
gh-ost \
--azure \
--assume-master-host=master-server-dns-name \
--master-user="master-user-name" \
--master-password="master-password" \
--assume-rbr \
[-- other paramters you need]