HomeMogDBMogDB StackUqbar
v2.0

Documentation:v2.0

Supported Versions:

Other Versions:

Show Database HBA

PTK provides a convenient way to show the content of pg_hba.conf file for the database nodes in the cluster.

Execute the following command to show it:

 ptk cluster -n <CLUSTER_NAME> show-hba

This command directly outputs information about pg_hba.conf under the primary node in the cluster.

To show the pg_hba.conf information for a specified node, use the following command.

Specify Node ID

ptk cluster -n <CLUSTER_NAME> show-hba -i <ID>

Specify Node IP

ptk cluster -n <CLUSTER_NAME> show-hba -H <IP>
Copyright © 2011-2024 www.enmotech.com All rights reserved.