Database audit supports databases built on ECS, BMS, and RDS on the console. After applying for a database audit instance, you need to add the database to be audited to the instance.
You have applied for a database audit instance and the Status is Running.
and choose . The Dashboard page is displayed.Figure 1 Add Database dialog box

Parameter | Description | Example Value |
|---|---|---|
Database Type | Type of the database to be added. You can select RDS database or Self-built database. If you select RDS database for Database Type and agent-free database for Type, you can directly select the databases. | RDS database |
Type | Supported database type. The options are as follows: | MYSQL |
Name | This parameter is displayed when Database Type is set to Self-built database. You can customize the name of the database to be added. | test1 |
IP Address | This parameter is displayed when Database Type is set to Self-built database. IP address of the database to be added. The IP address must be an internal IP address in IPv4 or IPv6 format. | IPv4: 192.168.1.1 IPv6: fe80:0000:0000:0000:0000:0000:0000:0000 |
Port | This parameter is displayed when Database Type is set to Self-built database. Port number of the database to be added | 3306 |
Version | This parameter is displayed when Database Type is set to Self-built database. Supported database versions:
| 5.0 |
Instance | This parameter is displayed when Database Type is set to Self-built database. Instance name of the database to be audited NOTE:
| - |
Character Set | This parameter is displayed when Database Type is set to Self-built database. Encoding format of the database character set. The options are as follows:
| UTF-8 |
OS | This parameter is displayed when Database Type is set to Self-built database. OS of the added database. The options are as follows: | LINUX64 |
Figure 2 Successfully adding a database
