From 6747085d73916a72bcf5bd71e00311eccb7fc94f Mon Sep 17 00:00:00 2001 From: axiaxixixixi <306232627@qq.com> Date: Tue, 18 Feb 2025 15:38:18 +0800 Subject: [PATCH] =?UTF-8?q?datakit=E6=94=AF=E6=8C=81=E6=B7=BB=E5=8A=A0ipv6?= =?UTF-8?q?=E5=AE=9E=E4=BE=8B=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\345\217\215\345\220\221\350\277\201\347\247\273.md" | 2 +- ...0\266\346\224\257\346\214\201DDL\346\223\215\344\275\234.md" | 2 +- content/zh/docs/ToolandCommandReference/DataKit.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git "a/content/zh/docs/DataMigrationGuide/\345\217\215\345\220\221\350\277\201\347\247\273.md" "b/content/zh/docs/DataMigrationGuide/\345\217\215\345\220\221\350\277\201\347\247\273.md" index 534f899d9..dc449d544 100644 --- "a/content/zh/docs/DataMigrationGuide/\345\217\215\345\220\221\350\277\201\347\247\273.md" +++ "b/content/zh/docs/DataMigrationGuide/\345\217\215\345\220\221\350\277\201\347\247\273.md" @@ -136,7 +136,7 @@ sh gs_replicate.sh install opengauss-mysql workspace.id - openGauss 的GUC参数设置要求为:wal_level = logical。 -- 需要调整pg_hba.conf以允许复制(这里的值取决于实际的网络配置以及用于连接的用户): +- 需要调整pg_hba.conf以允许复制(这里的值取决于实际的网络配置以及用于连接的用户,如果是ipv6地址,则将以下“0.0.0.0/0”换成“::/0”): ``` host replication repuser 0.0.0.0/0 sha256 diff --git "a/content/zh/docs/DatabaseOMGuide/\351\200\273\350\276\221\345\244\215\345\210\266\346\224\257\346\214\201DDL\346\223\215\344\275\234.md" "b/content/zh/docs/DatabaseOMGuide/\351\200\273\350\276\221\345\244\215\345\210\266\346\224\257\346\214\201DDL\346\223\215\344\275\234.md" index 57b6f5dbd..ef20d040d 100644 --- "a/content/zh/docs/DatabaseOMGuide/\351\200\273\350\276\221\345\244\215\345\210\266\346\224\257\346\214\201DDL\346\223\215\344\275\234.md" +++ "b/content/zh/docs/DatabaseOMGuide/\351\200\273\350\276\221\345\244\215\345\210\266\346\224\257\346\214\201DDL\346\223\215\344\275\234.md" @@ -61,7 +61,7 @@ CREATE PUBLICATION pub_name FOR ALL TABLES with(publish='insert,update,delete,tr wal_level=logical ``` -2、在`$PGDATA/pg_hba.conf`配置文件中添加如下配置参数(发布端和订阅端都要修改)。 +2、在`$PGDATA/pg_hba.conf`配置文件中添加如下配置参数(如果是ipv6地址,则将以下“0.0.0.0/0”换成“::/0”;发布端和订阅端都要修改)。 ```sql host replication all 0.0.0.0/0 md5 diff --git a/content/zh/docs/ToolandCommandReference/DataKit.md b/content/zh/docs/ToolandCommandReference/DataKit.md index 52537c67b..982a6fe0a 100644 --- a/content/zh/docs/ToolandCommandReference/DataKit.md +++ b/content/zh/docs/ToolandCommandReference/DataKit.md @@ -107,7 +107,7 @@ X86/ARM+openEuler 20.03 或 X86+CentOS 5.7。 ``` 3. 参数配置 - 修改并执行如下命令,设置配置文件`pg_hba.conf`相关参数 + 修改并执行如下命令,设置配置文件`pg_hba.conf`相关参数(如果是ipv6地址,则将以下“0.0.0.0/0”换成“::/0”) ```shell gs_guc set -D /opt/software/openGauss/data/single_node -h "host all all 0.0.0.0/0 sha256" ``` -- Gitee