MySQL Constraints
Table 1 shows the constraints designed to ensure the stability and security of RDS for MySQL.
| Function Item | Constraints |
|---|---|
| Database access |
|
| Deployment | ECSs in which DB instances are deployed are not visible to users. You can access the DB instances only through an IP address and a port number. |
| Database root permissions | Only the root user permissions are provided on the instance creation page. For more information about root permissions, see Table 2. |
| Database parameter modification | Most parameters can be modified on the RDS console. |
| Data import |
For details, see Migrating MySQL Data Using DRS. |
| MySQL storage engine | For details, see What Storage Engines Does the RDS for MySQL Support? |
| Database replication setup | RDS for MySQL provides a dual-node cluster with the primary/standby replication architecture. You do not need to set up replication. The standby DB instance is not visible to users and therefore you cannot access it directly. |
| DB instance reboot | RDS DB instances cannot be rebooted through commands. They must be rebooted on the RDS console. |
| RDS backup files | RDS backup files are stored in OBS buckets and are not visible to users. |
| Permission | Level | Description | Supported |
|---|---|---|---|
| Select | Table | Query permissions | Supported |
| Insert | Table | Insert permissions | |
| Update | Table | Update permissions | |
| Delete | Table | Delete permissions | |
| Create | Database, table, or index | Permissions of creating databases, tables, or indexes | |
| Drop | Database or table | Permissions of deleting databases or tables | |
| Reload | Server management | Permissions of running the following commands: flush-hosts, flush-logs, flush-privileges, flush-status, flush-tables, flush-threads, refresh, and reload | |
| Process | Server management | Permissions of viewing processes | |
| Grant | Database, table, or stored program | Permissions of granting access control | |
| References | Database or table | Foreign key operation permissions | |
| Index | Table | Index permissions | |
| Alter | Table | Permissions of altering tables, such as adding fields or indexes | |
| Show_db | Server management | Permissions of viewing database connections | |
| Create_tmp_table | Server management | Permissions of creating temporary tables | |
| Lock_tables | Server management | Permissions of locking tables | |
| Execute | Stored procedure | Permissions of executing storage procedures | |
| Repl_slave | Server management | Replication permissions | |
| Repl_client | Server management | Replication permissions | |
| Create_view | View | Permissions of creating views | |
| Show_view | View | Permissions of viewing views | |
| Create_routine | Stored procedure | Permissions of creating storage procedures | |
| Alter_routine | Stored procedure | Permissions of altering storage procedures | |
| Create_user | Server management | Permissions of creating users | |
| Event | Database | Event triggers | |
| Trigger | Database | Triggers | |
| Super | Server management | Permissions of killing threads | Not supported NOTE: For details, see Why Does the Root User Not Have the Super Permission? |
| File | File on the server | Permissions of accessing files on database server nodes | Not supported |
| Shutdown | Server management | Permissions of shutting down databases | |
| Create_tablespace | Server management | Permissions of creating tablespaces |
Last Article: Constraints
Next Article: PostgreSQL Constraints
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.