Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.

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
Situation Awareness
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/ Cloud Bastion Host/ FAQs/ Troubleshooting/ SSO O&M Faults/ Configuring a Customized Driver for DBeaver to Connect to GaussDB Databases

Configuring a Customized Driver for DBeaver to Connect to GaussDB Databases

Updated on 2024-12-03 GMT+08:00

GaussDB databases can be connected through the custom driver configured on DBeaver.

Version Requirements

3.3.52.0 or later.

Network Requirements

  • PC to bastion host: 18000
  • Port for connections between the bastion host and GaussDB databases: The default port is 8000.

Configuration on the Bastion Host

  1. Log in to the web page of the bastion host, click Download Center in the upper right corner, and download SSOTool Windows.

    Figure 1 Downloading the login tool

  2. Choose Resource > Host and add a GaussDB protocol host.
  3. Then, choose Policy > ACL Rule to associate the user with the access permission for the GaussDB host.

Configuring the DBeaver Client

  1. Start the DBeaver client, choose Database > Driver Manager, and click New.

    Table 1 Parameter descriptions

    Parameter

    Description

    Driver Name

    Set a name that is easy to identify, for example, GaussDB.

    Driver Type

    Select Generic.

    Class Name

    org.postgresql.Driver

    URL Template

    jdbc:postgresql://{host}[:{port}]/[{database}]

    Default Port

    Port of the database to be connected. Default port: 8000

  2. Click the Libraries tab, click Add File, and add gsjdbc4.jar.

    Download the gsjdbc4.jar file. The driver package file is compatible with the database version.

    Decompress the package, go to the GaussDB_driver\GaussDB_driver\Centralized\Euler2.5_x86_64 directory, and decompress the JDBC package.

  3. Click OK, edit the corresponding driver again, and click Find Class.
  4. Open the DBeaver client and directly connect to the target GaussDB database. Select the driver file created in 1.
  5. Click OK. After the connection is successful, open the C:\sso\SsoTool\DBeaver\General\.DBeaver\data-sources.json file, verify that the corresponding connection is generated, and open the C:\sso\SsoTool\ssotool.conf file.

    Add the C:\sso\SsoTool\DBeaver\General\.DBeaver\data-sources.json parameter to the C:\sso\SsoTool\ssotool.conf file, uncomment the corresponding line in the ssotool.conf file, and save the file.

  6. Choose Operation > Host Operations and access the host using the corresponding protocol.

Kami menggunakan cookie untuk meningkatkan kualitas situs kami dan pengalaman Anda. Dengan melanjutkan penelusuran di situs kami berarti Anda menerima kebijakan cookie kami. Cari tahu selengkapnya

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback