17.5.1.3 Finding the Primary
The following example shows how to find out which server is currently the primary when deployed in single-primary mode.
mysql> SHOW STATUS LIKE 'group_replication_primary_member';
© 2025 Oracle
Licensed under the GPLv2 License.