diff --git a/content/en/docs/Developerguide/connection-settings.md b/content/en/docs/Developerguide/connection-settings.md index 7fe3106a6f461a234361ca741bb29523a058c80a..05aa643e67f636090cd4868748ff047d3c5384ed 100644 --- a/content/en/docs/Developerguide/connection-settings.md +++ b/content/en/docs/Developerguide/connection-settings.md @@ -4,19 +4,19 @@ This section describes parameters related to client-server connection modes. ## listen\_addresses -**Parameter description**: Specifies the TCP/IP addresses that a server listens to for connections from the client. +**Parameter description**: Specifies the TCP/IP addresses that a server listens to for connections from the client. This parameter specifies the IP address used by the openGauss server to listen on, such as IPv4 address or IPv6 address(if supported). A server may have multiple NICs, and each NIC can be bound with multiple IP address. This parameter specifies the IP addresses which the openGauss server is bound. And the client can use the IP address specified in this parameter to connect to openGauss or send requests to openGauss. This parameter is a POSTMASTER parameter. Set it based on instructions provided in [Table 1](resetting-parameters.md#en-us_topic_0237121562_en-us_topic_0059777490_t91a6f212010f4503b24d7943aed6d846). **Value range**: -- Host name or IP address. Multiple values are separated with commas \(,\). +- Host name or IP address. Multiple values are separated with commas \(,\). - Asterisk \(\*\) or **0.0.0.0**, indicating that all IP addresses will be listened to, which is not recommended due to potential security risks. This parameter must be used together with valid addresses \(for example, the local IP address\). Otherwise, the build may fail. - If the parameter is not specified, the server does not listen to any IP address. In this case, only Unix domain sockets can be used for database connections. **Default value**: **localhost** ->![](public_sys-resources/icon-note.gif) **NOTE:** +>![](C:/Users/luozihao/Desktop/public_sys-resources/icon-note.gif) **NOTE:** >**localhost** indicates that only local loopback is allowed. ## local\_bind\_address @@ -99,7 +99,7 @@ This parameter is a POSTMASTER parameter. Set it based on instructions provided **Default value**: **0700** ->![](public_sys-resources/icon-note.gif) **NOTE:** +>![](C:/Users/luozihao/Desktop/public_sys-resources/icon-note.gif) **NOTE:** >In the Linux OS, a document has one document attribute and nine permission attributes, which consists of the read \(r\), write \(w\), and execute \(x\) permissions of the Owner, Group, and Others groups. >The r, w, and x permissions are represented by the following numbers: >r: 4 @@ -133,11 +133,14 @@ This parameter is a USERSET parameter used for O&M. You are advised not to chang **Default value**: empty ->![](public_sys-resources/icon-note.gif) **NOTE:** ->- An empty string indicates that the driver connected to the database does not support automatic setting of the **connection\_info** parameter or the parameter is not set by users in applications. ->- The following is an example of the concatenated value of **connection\_info**: -> ``` -> {"driver_name":"ODBC","driver_version": "(GaussDB Kernel V500R001C00 build 290d125f) compiled at 2020-05-08 02:59:43 commit 2143 last mr 131 debug","driver_path":"/usr/local/lib/psqlodbcw.so","os_user":"omm"} -> ``` -> **driver\_name** and **driver\_version** are displayed by default. Whether **driver\_path** and **os\_user** are displayed is determined by users. For details, see [Connecting to a Database](connecting-to-a-database-0.md) and [Configuring a Data Source in the Linux OS](configuring-a-data-source-in-the-linux-os.md). - +>![](C:/Users/luozihao/Desktop/public_sys-resources/icon-note.gif) **NOTE:** +> +>- An empty string indicates that the driver connected to the database does not support automatic setting of the **connection\_info** parameter or the parameter is not set by users in applications. +> +>- The following is an example of the concatenated value of **connection\_info**: +> +> ``` +> {"driver_name":"ODBC","driver_version": "(GaussDB Kernel V500R001C00 build 290d125f) compiled at 2020-05-08 02:59:43 commit 2143 last mr 131 debug","driver_path":"/usr/local/lib/psqlodbcw.so","os_user":"omm"} +> ``` +> +> **driver\_name** and **driver\_version** are displayed by default. Whether **driver\_path** and **os\_user** are displayed is determined by users. For details, see [Connecting to a Database](connecting-to-a-database-0.md) and [Configuring a Data Source in the Linux OS](configuring-a-data-source-in-the-linux-os.md).