tencent cloud

Last updated: 2025-04-18 10:58:50
Rules
Last updated: 2025-04-18 10:58:50

Overview

You can implement greater granularity of control over database access with the rules.
Note
Currently, only MySQL databases are supported.

Directions

1. Log in to the BH console.
2. In the left sidebar, choose Permission Mgmt > Database Access Control.
3. On the Database Access Control page, click the Rules tab.
4. On the Rule Management page, click Create rule.
5. In the Create rule window, configure the relevant parameters and click OK to set the rule.

Parameter Name
Parameter Description
Rule name
1�60 characters; It should start with a letter, Chinese character, or number; only letters, Chinese characters, digits, '-', and '_' are allowed.
Asset type
Only relational databases are supported.
Rule description
Supports 0�100 characters.
Client IP
Supports IPv4 addresses and CIDR.
Database name
The name of the database subject to access control.
Table name
The name of the table subject to access control.
Command
Block/allow applies only to the selected commands in the list. If no command is selected, the rule applies to all commands in the list.
Execution time
The rule effective time or SQL statement execution time. Options include unlimited, Every day, or a specified.
Access rule
Block/Pass.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback