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
On this page

Creating a Data Source

Updated on 2025-02-22 GMT+08:00

Scenarios

You can perform unified data source management. Currently, this function is used only for SQL audit.

Prerequisites

The data source to be created must be connected successfully.

Procedure

  1. Log in to the UGO console.
  2. In the navigation pane, choose Data Source Management.
  3. Click Create Data Source in the upper right corner.
  4. Configure parameters as needed.

    After the basic information is configured, the Test button next to Test Connection is available.
    Figure 1 Creating a data source
    Table 1 Parameter description

    Parameter

    Example Value

    Description

    Name

    app_db_01

    Name displayed in the data source management list.

    The name must contain 5 to 50 characters, start with a letter, and end with a digit or letter. Only letters (case-insensitive), digits, underscores (_), and hyphens (-) are allowed.

    DB Type

    GaussDB

    Type of the source database to be configured. Currently, only GaussDB, MySQL, and PostgreSQL are supported.

    Network Type

    Public network

    Public network: An EIP is used to connect to a database.

    If the database has an IP address whitelist, add the EIP to the whitelist to ensure that UGO can connect to the database.

    Connection Method

    Service name

    Only the server name can be used for connection.

    DB Name

    demo_db_01

    Name of a database to be managed.

    Enter a string of 2 to 128 characters, including letters, digits, periods (.), underscores (_), hyphens (-), dollar signs ($), and number signs (#). The value must start with a letter, digit, period (.), underscore (_), or hyphen (-) and can contain quotation marks (").

    Host Type

    Host IP Address

    Only the host IP address can be used.

    Host IP Address

    192.168.1.2

    Host IP address, which can be an IPv4 or IPv6 address

    NOTE:

    When DB Type is set to MySQL, IPv6 address can be used.

    Host Port

    4000

    Port of the database to be managed

    Username

    demo_user_01

    Username of the database to be managed.

    The value is a string of 2 to 128 characters, including letters, digits, underscores (_), hyphens (-), dollar signs ($), and number signs (#). It must start with a letter, digit, period (.), underscore (_), or hyphen (-) and can be enclosed in double quotation marks.

    Password

    Pass@worD&^

    Password of the database to be managed.

    The password can contain up to 50 characters.

  5. Click Test. If the test is successful, Connected is displayed, and the Create button in the lower right corner is available.

    If the test failed dut to network faults or insufficient permissions, an error is displayed. You cannot create a data source.

  6. Click Create. A message is displayed, indicating that the project is created.
  7. Click OK to go to the Data Source Management page. View the data source you created in the list.

    You can search for a data source by data source ID, data source name, database name, database type, IP address, or port.
    Figure 2 Viewing a data source

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