<account name>:<password> by adjusting the system parameter UserPasswordSeparate. For detailed operations, see Managing Instance Parameters.Account Type | Creation Method | Permission Management | Authentication Format |
Default account | Automatically generated when an instance is created | The account cannot be deleted, and its read/write permissions cannot be modified. | -a <password> |
Custom account | Manually created by users | The account can be deleted, and its permissions can be modified. | -a <account_name>@<password> |
Permission Type | Data Reading | Data Modification | Scenarios |
Read-only permission | ✓ | ✗ | Data query, report analysis, and read-only replica access |
Read/write permission | ✓ | ✓ | Read/write operations of routine workloads |
Routing Target | Description |
Master node | Read requests are sent to the master node for processing. |
Replica node | Read requests are sent to the replica node for processing, and the read-only replica feature needs to be enabled. |
Restriction | Description |
Read-only replica disabled | Routing to replica nodes is not supported. You need to enable the read-only replica feature on the Node Management page. |
Replica nodes accessed by an existing account | Disabling the read-only replica feature is not allowed. You must delete this account before you can disable the feature. |


Parameter | Description |
Account Name | Set the custom account name. Contain only letters, digits, or symbols (-_). Contain up to 32 characters. |
Password | Set the custom account password. Contain [8,30] characters. Contain at least two of the following four types: lowercase letters, uppercase letters, digits, and symbols (()`~!@#$%^&*-+=_|{}[]:;<>,.?/). Cannot start with a slash (/). |
Confirm Password | Enter the password again. |
Command Permission | Select the account permission in the drop-down list, which can be read-only or read-write. |
Read-only Routing Policy | Specify to distribute the read requests of the account to the master or replica node. If the read-only replica feature is not enabled, you cannot select replica node here. For detailed directions, see Enabling/Disabling Read/Write Separation. Note: If the read-only replica feature is not enabled, you cannot select replica node here. For detailed directions, see Enabling/Disabling Read/Write Separation. |
Read-only local node | This feature is disabled. This feature means that when there is a node (master node or replica node) in the same AZ as the accessing terminal, it only accesses nodes in the same AZ to reduce read latency and avoid reading data across AZs. You can enable or disable this feature by configuring the parameter read-local-node-only on the parameter configuration page in the console. |

API | Feature Description |
Create an instance custom account. | |
Modify the instance custom account | |
Delete the instance custom account. | |
Displays instance account information. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários