Documentation Home
MySQL 8.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 39.8Mb
PDF (A4) - 39.9Mb
Man Pages (TGZ) - 257.9Kb
Man Pages (Zip) - 364.9Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


20.2.1.4 Launching 组复制

首先需要确保 Group Replication 插件已经安装在服务器 s1 上。如果您在选项文件中使用了plugin_load_add='group_replication.so',那么 Group Replication 插件已经安装,您可以继续下一步。否则,您必须手动安装插件;要做到这点,请使用mysql客户端,并执行以下 SQL 语句:

mysql> INSTALL PLUGIN group_replication SONAME 'group_replication.so';

要检查插件是否安装成功,请执行SHOW PLUGINS;,并检查输出结果。它应该显示类似于以下内容:

mysql> SHOW PLUGINS;
+----------------------------+----------+--------------------+----------------------+-------------+
| Name                       | Status   | Type               | Library              | License     |
+----------------------------+----------+--------------------+----------------------+-------------+
| binlog                     | ACTIVE   | STORAGE ENGINE     | NULL                 | PROPRIETARY |

(...)

| group_replication          | ACTIVE   | GROUP REPLICATION  | group_replication.so | PROPRIETARY |
+----------------------------+----------+--------------------+----------------------+-------------+