このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ GaussDB(DWS)/ User Guide/ Connecting to a GaussDB(DWS) Cluster/ Obtaining the Connection Address of a GaussDB(DWS) Cluster

Obtaining the Connection Address of a GaussDB(DWS) Cluster

Updated on 2025-03-03 GMT+08:00

Scenario

You can access GaussDB(DWS) clusters by different methods and the connection address of each connection method varies. This section describes how to view and obtain the private network address on the Huawei Cloud platform, public network address on the Internet, and JDBC connection strings.

To obtain the cluster connection address, use either of the following methods:

Obtaining the cluster connection address on the Client Connections Page

  1. Log in to the GaussDB(DWS) console.
  2. In the navigation tree on the left, choose Management > Client Connections.
  3. In the Data Warehouse Connection Information area, select an available cluster.

    You can only select clusters in the Available state.

    Figure 1 Data warehouse connection information

  4. View and obtain the cluster connection information.

    • Private Network IP Address
    • Public Network IP Address
    • ELB Address
    • JDBC URL (Private Network)
    • JDBC URL (Public Network)
    • ODBC URL
    NOTE:
    • If no EIP is automatically assigned during cluster creation, Public Network Address is empty. If you want to use a public network address (consisting of an EIP and the database port) to access the cluster from the Internet, click Bind EIP to bind one.
    • If an EIP is bound during cluster creation but you do not want to use the public network address to access the cluster, click Unbind EIP to unbind the EIP. After the EIP is unbound, Public Network Address is empty.
    • If a cluster was not bound to ELB when it was created, the ELB Address parameter will be left blank. You can bind the cluster to ELB to avoid single CN failures.
    • If a cluster has been bound to ELB, use the ELB address to connect to the cluster for high availability purposes.
    • If the IPv6 dual stack is enabled for a GaussDB(DWS) cluster, private IPv4 and IPv6 addresses can be used. You can connect to the cluster via IPv4 or IPv6.

Obtaining the Cluster Access Addresses on the Cluster Information Page

  1. Log in to the GaussDB(DWS) console.
  2. Choose Dedicated Clusters > Clusters in the navigation pane.
  3. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.
  4. In the Connection area, view and obtain the cluster's access address information, including the private network address and public network address.

    Figure 2 Access addresses
    Table 1 Connection

    Parameter

    Description

    Private Network Domain Name

    Domain name for accessing the cluster database through the internal network. The domain name corresponds to all CN IP addresses. The private network domain address is automatically generated when a cluster is created. The default naming rule is cluster name.dws.myhuaweicloud.com.

    NOTE:
    • If the cluster name does not comply with the domain name standards, the prefix of the default access domain name will be adjusted accordingly.
    • Load balancing is not supported.

    You can click Modify to change the private network domain name. The access domain name contains 4 to 63 characters, which consists of letters, digits, and hyphens (-), and must start with a letter.

    For details, see Managing GaussDB(DWS) Cluster Access Domain Names.

    Private Network IP Address

    IP address for accessing the database in the cluster over the private network.

    NOTE:
    • A private IP address is automatically generated when you create a cluster. The IP address is fixed.
    • The number of private IP addresses equals the number of CNs. You can log in to any node to connect to the cluster.
    • If you access a fixed IP address over the internal network, all the resource pools will run on a single CN.
    • If IPv6 is enabled for a cluster, both IPv4 and IPv6 private addresses will be displayed. You can use either of them as needed.

    Public Network Domain Name

    Name of the domain for accessing the database in the cluster over the public network. For details, see Managing GaussDB(DWS) Cluster Access Domain Names.

    NOTE:

    Load balancing is not supported.

    Public Network IP Address

    IP address for accessing the database in the cluster over the public network.

    NOTE:
    • If no EIP is assigned during cluster creation and Public Network IP Address is empty, click Edit to bind an EIP to the cluster.
    • If an EIP is bound during cluster creation, click Edit to unbind the EIP.

    Initial Administrator

    Database administrator specified during cluster creation. When you connect to the cluster for the first time, you need to use the initial database administrator and password to connect to the default database.

    Port

    Port number for accessing the cluster database through the public network or private network. The port number is specified when the cluster is created.

    Default Database

    Database name specified when the cluster is created. When you connect to the cluster for the first time, connect to the default database.

    ELB Address

    To achieve high availability and avoid single-CN failures, a new cluster needs to be bound to ELB. You are advised to use the ELB address to connect to the cluster.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback