Skip to content

Commit a65581d

Browse files
PS-10009 postfix: Add support for dns_srv_name in the connection section of the configuration file (#88)
https://perconadev.atlassian.net/browse/PS-10009 Updated 'README.md' with the description of the '<connection.dns_srv_name>' parameter.
1 parent 18e365d commit a65581d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,15 @@ Currently we use the following mapping:
248248
#### \<connection\> section
249249
- `<connection.host>` - MySQL server host name (e.g. `127.0.0.1`, `192.168.0.100`, `dbsrv.mydomain.com`, etc.). Please do not use `localhost` here as it will be interpreted differently by the `libmysqlclient` and will instruct the library to use Unix socket file for connection instead of TCP protocol - use `127.0.0.1` instead (see [this page](https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-connect.html) for more details).
250250
- `<connection.port>` - MySQL server port (e.g. `3306` - the default MySQL server port).
251+
- `<connection.dns_srv_name>` - the name of a DNS SRV record that determines the candidate hosts to use for establishing a connection to a MySQL server ([--dns-srv-name](https://dev.mysql.com/doc/refman/8.4/en/mysql-command-options.html#option_mysql_dns-srv-name) `mysql` utility command line option)
251252
- `<connection.user>` - the name of the MySQL user that has [REPLICATION SLAVE](https://dev.mysql.com/doc/refman/8.0/en/replication-howto-repuser.html) privilege.
252253
- `<connection.password>` - the password for this MySQL user.
253254
- `<connection.connect_timeout>` - the number of seconds the MySQL client library will wait to establish a connection with a remote host.
254255
- `<connection.read_timeout>` - the number of seconds the MySQL client library will wait to read data from a remote server (this parameter may affect the responsiveness of the program to graceful termination - see below).
255256
- `<connection.write_timeout>` - the number of seconds the MySQL client library will wait to write data to a remote server.
256257

258+
Note: you should specify either `<connection.host>` / `<connection.port>` pair or single `<connnection.dns_srv_name>`.
259+
257260
#### \<connection.ssl\> optional section
258261
- `<connection.ssl.mode>` - specifies the desired security state of the connection to the MySQL server, can be one of the `disabled` / `preferred` / `required` / `verify_ca` / `verify_identity` ([--ssl-mode](https://dev.mysql.com/doc/refman/8.4/en/connection-options.html#option_general_ssl-mode) `mysql` utility command line option).
259262
- `<connection.ssl.ca>` (optional) - specifies the file that contains the list of trusted SSL Certificate Authorities ([--ssl-ca](https://dev.mysql.com/doc/refman/8.4/en/connection-options.html#option_general_ssl-ca) `mysql` utility command line option).

0 commit comments

Comments
 (0)