- run
docker compose up
to create a pair of mysql 8.0 servers with distinctly configured server_id's (needed for row based replication) - run
./scripts/initial-setup.sh
to create a user for replication, configure the master/slave to allow replication, and start replication - run
./scripts/init-seeds.sh
to create a genericusers
table, and seed with randomly generated records - [todo] execute gh-ost targeting our local environment, as "Test on replica"
- [todo] verify new table has changes made, and has expected records
- docs here
- [todo] execute gh-ost targeting our local environment, as "Migrate on replica"
- [todo] verify ghost table is gone, and replication is still continuing
-
Notifications
You must be signed in to change notification settings - Fork 0
bitovi/medline-ghost-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demonstrating gh-ost functionality using local mysql servers
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published