本帖最后由 lvhejin 于 2026-1-16 18:51 编辑
我是 利用手动方式构建MGR ,参考文档:https://greatsql.cn/docs/8.4.4-4/8-mgr/2-mgr-install-deploy.html
192.168.0.7 该节点执行:START group_replication; 启动成功

192.168.0.11
192.168.0.12
这两个节点执行:START group_replication; 均异常:
(Fri Jan 16 14:35:24 2026)[root@GreatSQL][(none)]>START group_replication;
ERROR 3092 (HY000): The server is not configured properly to be an active member of the group. Please see more details on error log.
error.log
- [root@GreatSQL-02 GreatSQL]# vi error.log
- 2026-01-16T11:19:23.152082+08:00 0 [System] [MY-015017] [Server] MySQL Server Initialization - start.
- 2026-01-16T11:19:23.153806+08:00 0 [Warning] [MY-011070] [Server] 'binlog_format' is deprecated and will be removed in a future release.
- 2026-01-16T11:19:23.153841+08:00 0 [Warning] [MY-011069] [Server] The syntax '--replica-parallel-type' is deprecated and will be removed in a future release.
- 2026-01-16T11:19:23.154006+08:00 0 [Note] [MY-010096] [Server] Ignoring --secure-file-priv value as server is running with --initialize(-insecure).
- 2026-01-16T11:19:23.154011+08:00 0 [Note] [MY-010096] [Server] Ignoring --secure-log-path value as server is running with --initialize(-insecure).
- 2026-01-16T11:19:23.154042+08:00 0 [Note] [MY-013932] [Server] BuildID[sha1]=ba303d5357affecb6d9d28c2a9f1e4d8c2cb10ee
- 2026-01-16T11:19:23.154046+08:00 0 [Note] [MY-010949] [Server] Basedir set to /usr/local/GreatSQL-8.4.4-4-Linux-glibc2.28-aarch64/.
- 2026-01-16T11:19:23.154057+08:00 0 [System] [MY-013169] [Server] /usr/local/GreatSQL-8.4.4-4-Linux-glibc2.28-aarch64/bin/mysqld (mysqld 8.4.4-4) initializing of server in progress as process 178936
- 2026-01-16T11:19:23.159263+08:00 0 [Note] [MY-010458] [Server] --initialize specified on an existing data directory.
- 2026-01-16T11:19:23.164979+08:00 0 [Note] [MY-010938] [Server] Generating a new UUID: 27901a21-f28a-11f0-8ce4-fa163e2768ec.
- 2026-01-16T11:19:23.169261+08:00 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO
- 2026-01-16T11:19:23.169547+08:00 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled.
- 2026-01-16T11:19:23.169622+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndbcluster' is disabled.
- 2026-01-16T11:19:23.169645+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndbinfo' is disabled.
- 2026-01-16T11:19:23.169660+08:00 0 [Note] [MY-010747] [Server] Plugin 'ndb_transid_mysql_connection_map' is disabled.
- 2026-01-16T11:19:23.169758+08:00 0 [Note] [MY-010747] [Server] Plugin 'mysql_native_password' is disabled.
- 2026-01-16T11:19:23.171045+08:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
- 2026-01-16T11:19:23.171108+08:00 1 [Note] [MY-013546] [InnoDB] Atomic write enabled
- 2026-01-16T11:19:23.171132+08:00 1 [Note] [MY-012274] [InnoDB] The first innodb_system data file 'ibdata1' did not exist. A new tablespace will be created!
- 2026-01-16T11:19:23.171149+08:00 1 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available
- 2026-01-16T11:19:23.171166+08:00 1 [Note] [MY-012944] [InnoDB] Uses event mutexes
- 2026-01-16T11:19:23.171175+08:00 1 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier
- 2026-01-16T11:19:23.171184+08:00 1 [Note] [MY-012948] [InnoDB] Compressed tables use zlib 1.3.1
- 2026-01-16T11:19:23.174668+08:00 1 [Note] [MY-011066] [InnoDB] File purge : set file purge path : /data/GreatSQL/#file_purge
- 2026-01-16T11:19:23.174751+08:00 1 [Note] [MY-012951] [InnoDB] Using hardware accelerated crc32 and polynomial multiplication.
- 2026-01-16T11:19:23.175030+08:00 1 [Note] [MY-012203] [InnoDB] Directories to scan './'
- 2026-01-16T11:19:23.175079+08:00 1 [Note] [MY-012204] [InnoDB] Scanning './'
- 2026-01-16T11:19:23.175136+08:00 1 [Note] [MY-012208] [InnoDB] Completed space ID check of 0 files.
- 2026-01-16T11:19:23.176752+08:00 1 [Note] [MY-012955] [InnoDB] Initializing buffer pool, total size = 5.000000G, instances = 8, chunk size =128.000000M
- 2026-01-16T11:19:23.352726+08:00 1 [Note] [MY-012957] [InnoDB] Completed initialization of buffer pool
- 2026-01-16T11:19:23.366382+08:00 1 [Note] [MY-012265] [InnoDB] Setting file './ibdata1' size to 12 MB. Physically writing the file full; Please wait ...
- 2026-01-16T11:19:23.422262+08:00 1 [Note] [MY-012266] [InnoDB] File './ibdata1' size is now 12 MB.
- 2026-01-16T11:19:23.422393+08:00 1 [Note] [MY-013566] [InnoDB] Double write buffer files: 2
- 2026-01-16T11:19:23.422421+08:00 1 [Note] [MY-013565] [InnoDB] Double write buffer pages per instance: 128
- 2026-01-16T11:19:23.424481+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
- 2026-01-16T11:19:23.507405+08:00 1 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
- 2026-01-16T11:19:23.714537+08:00 1 [Note] [MY-012893] [InnoDB] New redo log files created, LSN=8204
- 2026-01-16T11:19:23.714673+08:00 1 [Note] [MY-013083] [InnoDB] Log background threads are being started...
- 2026-01-16T11:19:23.744379+08:00 1 [Note] [MY-012896] [InnoDB] Creating UNDO Tablespace ./undo_001
- 2026-01-16T11:19:23.746582+08:00 1 [Note] [MY-012897] [InnoDB] Setting file ./undo_001 size to 16 MB
- 2026-01-16T11:19:23.746602+08:00 1 [Note] [MY-012898] [InnoDB] Physically writing the file full
- 2026-01-16T11:19:23.834249+08:00 1 [Note] [MY-012896] [InnoDB] Creating UNDO Tablespace ./undo_002
- 2026-01-16T11:19:23.834294+08:00 1 [Note] [MY-012897] [InnoDB] Setting file ./undo_002 size to 16 MB
- 2026-01-16T11:19:23.834307+08:00 1 [Note] [MY-012898] [InnoDB] Physically writing the file full
- "error.log" 629L, 93104B
复制代码
my.cnf配置文件内容:
192.168.0.7:
192.168.0.11:
192.168.0.12:
|