Methods of Connecting to a Cluster¶
If you have created a GaussDB(DWS) cluster, you can use the SQL client tool or a third-party driver such as JDBC or ODBC to connect to the cluster and access the database in the cluster.
The procedure for connecting to a cluster is as follows:
If SSL encryption is used, perform the operations in Establishing Secure TCP/IP Connections in SSL Mode.
Connect to the cluster and access the database in the cluster. You can choose any of the following methods to connect to a cluster:
Use the SQL client tool to connect to the cluster.
Use a JDBC, psycopg2, or PyGreSQL driver to connect to the cluster.