To configure MySQL Group Replication across servers, prepare every instance with a unique identity and reachable Group Replication address, create distributed-recovery credentials, bootstrap exactly one seed server, then start Group Replication on the remaining members and verify that each reaches ONLINE. Group Replication keeps membership and replication state coordinated; it does not redirect application connections, so client failover requires MySQL Router, a connector, a load balancer, or equivalent middleware.
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
What you are building
MySQL Group Replication forms a group of database servers that communicate over a peer-to-peer Group Replication network. Members exchange group information, detect membership changes, and use distributed recovery when a server joins or catches up. The database servers still need normal SQL connectivity for applications and recovery operations, so a production design normally distinguishes the internal Group Replication address from the SQL client address.
As an Amazon Associate I earn from qualifying purchases.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteOracle’s MySQL 9.7 FAQ documents a maximum group size of nine servers. Treat that as a hard planning limit for one group rather than as a recommendation to run nine members in every installation. Fewer members reduce coordination and recovery work; more members may be appropriate only when the failure model and write workload justify them.
Decide the topology before installing
- Single-primary: one member is the writer at a time. This is generally simpler when applications expect one writable endpoint and when writes are not naturally partitioned.
- Multi-primary: more than one member can accept writes. It can reduce dependence on one writer, but application behavior, transaction conflicts, foreign-key interactions, and workload placement require careful design.
Choose the mode before production initialization. The choice changes how applications issue writes and how you design routing, conflict handling, and maintenance.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Prerequisites for every server
Use compatible software and settings
Install a MySQL release that supports the Group Replication features you intend to use and install the Group Replication plugin on every member. Follow the variable requirements for that exact release: replication and GTID requirements can differ between versions, and a setting that is valid on one release may be unavailable or have different constraints on another.
Every member needs a unique server identity. In practice this means a distinct server_id and a unique host identity that administrators can unambiguously map to one machine. Enable binary logging and the GTID and replication settings required by your release and operating mode. Do not copy a complete option file from one server without changing identity and address values.
Plan names, ports, and addresses
Assign each server a distinct group_replication_local_address. This is the address other members use for the internal Group Replication TCP connection; it is not automatically the same as the address applications use for SQL traffic. Use fully qualified hostnames only when those names resolve correctly from every member. Otherwise use reachable IP addresses that are permitted by the network policy.
Prepare a seed list for distributed recovery and group discovery. Every hostname used for a seed or SQL connection must resolve on every member that needs it. Check both forward resolution and firewall reachability from each server to every other server before attempting the bootstrap.
Keep consistency-required variables aligned
Some Group Replication system variables must have the same value throughout the group. Oracle’s variable reference also notes that certain variables cannot be changed while Group Replication is running. A change to one of those variables therefore requires a controlled stop of the group, a full group reboot or new bootstrap as required by the release, and a coordinated change on all members.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Record the intended values for the group name, communication stack, local addresses, seed list, recovery channel, and any consistency-sensitive settings. Configuration drift is easier to prevent when these values are maintained as a reviewed template with per-server identity and address fields separated from shared values.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePrepare the MySQL configuration
Apply the following categories of settings to every instance, adapting names, ports, and release-specific syntax to your installation:
- A unique
server_idfor the instance. - Binary logging enabled with the format and retention policy required by your MySQL release.
- GTID and replication settings required for Group Replication in that release.
- The Group Replication plugin installed and loadable.
- A shared group name used by all members.
- A unique
group_replication_local_addressfor this server. - A seed list containing addresses that joining members can reach.
- Recovery-channel settings and credentials.
Do not place group_replication_bootstrap_group=ON in a persistent option file. The bootstrap flag is a runtime control for creating the first group, not a permanent server setting. Persisting it can cause a restarted server to create another group instead of joining the existing one.
Separate internal and client traffic when required
Firewall and security policies may require separate interfaces or port ranges for Group Replication and SQL traffic. The internal address must be reachable by all members, while the SQL address must be reachable by applications, administration tools, or recovery connections as appropriate. Document both addresses and test them independently; a successful client connection does not prove that the internal Group Replication port is open.
Create a distributed-recovery account
Joining members use the group_replication_recovery channel to obtain missing transaction state from a donor. Create a dedicated replication account rather than reusing an application or administrative account. Grant the privileges required by the selected MySQL version, and apply the same account policy consistently across the group.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
MySQL permits recovery credentials to be supplied when Group Replication is started or configured for the recovery channel. Choose one method deliberately:
- Runtime credentials: supply the account when issuing
START GROUP_REPLICATION. This avoids storing the password in a persistent option file but requires a secure startup procedure. - Configured recovery channel: store the channel credentials using the account and credential mechanism supported by your release. This is useful for automatic starts, but the stored secret must be protected with the same care as other database credentials.
Whichever method you select, verify that the account can authenticate from every member and that firewall rules allow the recovery connection to a donor. A member can have correct Group Replication addresses and still remain in recovery if the donor connection or credentials are wrong.
Bootstrap the first member exactly once
Choose one server as the initial seed. It must be the only server that bootstraps the group. On that server, after the plugin and replication prerequisites are ready, run:
SET GLOBAL group_replication_bootstrap_group=ON;
START GROUP_REPLICATION;
SET GLOBAL group_replication_bootstrap_group=OFF;
The order matters. The bootstrap flag is enabled only for the start operation, then immediately disabled. The MySQL manual states: “The bootstrap should only be done by a single server, the one that starts the group and only once.” Do not run this sequence concurrently on two servers, and do not repeat it merely because another member has not joined yet.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
If the start fails, inspect the error and correct the underlying configuration while leaving the bootstrap flag disabled. Re-enable it only when you have deliberately confirmed that this server is the intended seed and that no existing group is active. Bootstrapping a second group can create a split-brain administrative situation in which different servers believe they belong to different groups.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
Verify the seed before adding traffic
Use Performance Schema to confirm that the seed actually joined its group:
SELECT
MEMBER_ID,
MEMBER_HOST,
MEMBER_PORT,
MEMBER_STATE,
MEMBER_ROLE,
MEMBER_VERSION,
MEMBER_COMMUNICATION_STACK
FROM performance_schema.replication_group_members;
The seed should show MEMBER_STATE='ONLINE'. Check that the host and port are the expected internal communication endpoint and that the group details match your deployment. If the row is absent or the state is not ONLINE, do not proceed to application traffic or additional members. Resolve the plugin, identity, network, or configuration error first.
Join additional servers
Prepare and start each remaining server one at a time. A controlled sequence makes it clear which member introduced a failure and gives the first donor time to stabilize.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →- Set the identity: give the server a unique
server_id, hostname identity, and Group Replication local address. - Match shared settings: use the same group name and compatible replication, GTID, communication, and consistency-sensitive settings as the seed.
- Configure discovery: set the seed list to an address of an existing member that this server can resolve and reach.
- Configure recovery: set the dedicated recovery credentials using the runtime or channel method selected for the deployment.
- Start Group Replication: issue
START GROUP_REPLICATIONon the joining server. Do not set the bootstrap flag on this member. - Watch the state: query
performance_schema.replication_group_membersfrom an existing member and from the joining member. The new row should progress through the release-defined recovery states and ultimately reachONLINE. - Validate before proceeding: confirm the member’s host, port, role, version, and communication details. Only then add another server or direct application traffic to it.
During distributed recovery, the joining member obtains group membership information and copies missing state from a donor. Recovery time depends on the amount of missing data, donor capacity, network throughput and latency, and the release’s recovery behavior. A member that remains in a recovery state is not ready to serve normal application traffic.
Single-primary versus multi-primary
| Decision axis | Single-primary | Multi-primary |
|---|---|---|
| Writer topology | One member is the intended writer at a time. | Multiple members may accept writes. |
| Application behavior | Applications can target one writer endpoint, with routing for availability. | Applications must tolerate writes being sent to different members. |
| Conflict risk | Lower risk of concurrent writes to the same data because writes are concentrated on one member. | Higher design burden for conflicting transactions and workload overlap. |
| Operational complexity | Usually simpler to reason about and monitor. | Requires deliberate data partitioning, conflict analysis, and write-placement rules. |
| Failure handling | Membership and failure detection continue, but applications still need a route to the currently usable writer. | Membership and failure detection continue while several members may remain writable; client routing and conflict policy remain application responsibilities. |
| Client routing | Still required for failover and for finding the available writer. | Still required to select reachable members and remove failed endpoints. |
Choose the mode based on transaction behavior rather than on the number of servers. Multi-primary is not a substitute for conflict-free schema and workload design, and single-primary does not remove the need for a client failover path.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Monitor membership and replication health
performance_schema.replication_group_members is the first health check. Monitor at least:
MEMBER_STATE, especially transitions toONLINE, recovery states, error states, or removal.MEMBER_ROLEand the expected writer arrangement for your operating mode.MEMBER_HOSTandMEMBER_PORTfor address drift or an unexpected endpoint.MEMBER_VERSIONwhen checking release compatibility.MEMBER_COMMUNICATION_STACKand the communication details expected by your configuration.
Use the other Group Replication Performance Schema tables and status variables provided by your installed MySQL release to inspect recovery progress, donor selection, certification or applier errors, and communication failures. Alert on a member leaving ONLINE, an unexpected role change, a recovery that exceeds your normal window, and a reduction in the number of healthy members.
Fail over application connections
Group Replication maintains database membership; it does not move existing client sessions when a server dies. A TCP connection that was established to the failed member remains broken, and a new connection needs a usable endpoint.
Use one of these routing patterns:
- MySQL Router: route new connections to an appropriate Group Replication member and remove failed endpoints.
- Connector-aware routing: use a connector that understands the group topology and retries or selects another member according to your application’s policy.
- Load balancer: health-check SQL endpoints and distribute new connections only to members that satisfy the health policy.
- Equivalent middleware: implement the same discovery, health, writer-selection, and retry behavior in another service.
Design retries with transaction semantics in mind. Retrying a connection is not the same as safely retrying a transaction: an application must know whether the original transaction committed before issuing a duplicate write.
Troubleshoot members that are not ONLINE
The member is absent from replication_group_members
- Confirm the Group Replication plugin is installed and started on that server.
- Check that
START GROUP_REPLICATIONwas issued on the intended instance. - Verify the group name and local address, then inspect the MySQL error log.
- Confirm that the internal port is listening and reachable from existing members.
The member remains in a recovery state
- Test the recovery account from the joining server and verify its privileges for the installed release.
- Confirm that the configured seed or donor hostname resolves locally and reaches the expected SQL port.
- Check donor availability, network throughput, and the amount of missing transaction state.
- Review Group Replication recovery tables and status variables for authentication, transfer, or applier errors.
The member enters an error state
- Read the error log and the Group Replication status tables before restarting.
- Compare all consistency-required variables with a known-good member.
- Check for incompatible GTID, binary-log, or replication settings for the selected MySQL release.
- Do not bootstrap the member as a shortcut. Correct the cause and rejoin it through distributed recovery.
Names work on one server but not another
Group Replication and recovery require mutual reachability. Test DNS resolution and the relevant TCP ports from every member, not only from an administrator workstation. Replace an unreliable name with a consistently resolvable fully qualified name or a permitted IP address, then update the shared seed and per-member local-address settings in a coordinated change.
Clients still fail after a database node dies
This is expected when clients connect directly to individual servers. Add Router, connector logic, a load balancer, or other middleware, and configure it to remove failed endpoints and select a healthy member. Existing sessions must reconnect; Group Replication does not migrate them.
Maintenance, restart, and reconfiguration rules
Plan maintenance around the group’s membership and writer requirements. Before stopping a member, verify that enough healthy members remain for the operating mode and that the client-routing layer will stop sending new connections to the server being maintained.
For settings that cannot change while Group Replication is running, schedule a coordinated group operation. Stop members according to the release’s documented procedure, apply the same shared value everywhere, and perform the required full group reboot or controlled bootstrap. Do not leave the bootstrap flag enabled between restarts.
Quick Recap
Re-test the following during planned maintenance:
- Starting the intended seed without accidentally creating a second group.
- Joining a stopped member through the configured seed and recovery channel.
- Observing the member reach
ONLINEbefore routing traffic to it. - Removing a failed endpoint from client routing and restoring it after recovery.
- Confirming that monitoring reports the correct role, version, host, port, and communication stack.
Production decision checklist
- Count the members and keep the group at or below the documented nine-server maximum.
- Assign a unique server identity and Group Replication local address to every instance.
- Verify binary logging, GTID, replication, plugin, and release-specific requirements on every server.
- Confirm mutual DNS resolution or reachable IP addressing and open only the required internal and SQL ports.
- Align consistency-required variables and record which changes require a full group reboot.
- Create and protect a dedicated distributed-recovery account.
- Bootstrap one seed exactly once, then turn the bootstrap flag off.
- Verify the seed as
ONLINEin Performance Schema. - Join each additional server through the seed and recovery path, verifying
ONLINEafter every join. - Select single-primary or multi-primary based on application write behavior and conflict risk.
- Deploy client routing and test new-connection failover; do not assume Group Replication moves existing sessions.
- Exercise bootstrap, recovery, monitoring, and client failover during planned maintenance.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




