Connecting to Your Own Database
By configuring the connection, you can integrate your own MySQL database into the CloudBase platform to achieve:
- Generate data models based on existing data tables
- Use the model operation capabilities provided by CloudBase
- Directly manage data in the original database
Prerequisites
Before configuring your own MySQL database connection, please ensure:
- The database has public network access capability
- A dedicated database user account has been created
- The database firewall has opened the corresponding ports
Create Connection Configuration
Go to CloudBase Platform/MySQL Database, click the "Add" button in the header

Configuration Parameters
| Parameter | Description | Required |
|---|---|---|
| Database Type | Select MySQL/SQLServer (requires ticket submission) | Yes |
| Configuration Name | Display name of the connection configuration | Yes |
| Configuration ID | Unique identifier of the connection configuration | Yes |
| Access Method | Choose to connect to your own database or Tencent Cloud database | Yes |
| Host Address | Public IP or domain name of the MySQL database | Yes |
| Port | Connection port of the MySQL database | Yes |
| Database Name | Name of the database to connect to | Yes |
| Username | Database connection username | Yes |
| Password | Database connection password | Yes |
| Connection Parameters | MySQL connection parameters | No |
| Timeout | Timeout for connection and access | No |
Note
If you wish to connect to SQLServer database, please contact Tencent architects or submit a ticket
IP Whitelist Configuration
If you need to configure database access IP whitelist, please add the following IP addresses to your MySQL database whitelist:
175.24.211.44,
175.24.212.162,
175.24.213.48,
175.24.214.104,
175.24.214.93,
49.234.25.245,
49.234.27.58,
49.234.3.160,
49.234.34.31,
49.234.35.33,
Note
All IP addresses must be added to ensure normal service operation.