Step 1: Add a Database

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.

Prerequisites

You have applied for a database audit instance and the Status is Running.

Adding a Database

  1. Log in to the management console.

  2. Select a region, click image1, and choose Security > Database Security Service. The Dashboard page is displayed.

  3. In the navigation tree on the left, choose Databases.

  4. In the Instance drop-down list, select the instance whose database is to be added.

  5. Click Add Database.

  6. In the displayed dialog box, configure the database information.

    **Figure 1** Add Database dialog box

    Figure 1 Add Database dialog box

    Table 1 Parameters

    Parameter

    Description

    Example Value

    Database Type

    Supported database type. You can select RDS.

    RDS database

    Type

    Supported database type. You can select GaussDB(for MySQL).

    You do not need to install an agent on the database.

    GaussDB(for MySQL)

  7. Click OK. A database whose Audit Status is Disabled is added to the database list. You do not need to manually install the agent.

    **Figure 2** Successfully adding a database

    Figure 2 Successfully adding a database

    Note

    • After adding the database, confirm that the database information is correct. If the database information is incorrect, locate the target database and click Delete in the Operation column, and add the database again.