This page summarizes common database account tasks for OceanBase Cloud instances, including creating accounts, managing privileges, resetting passwords, locking accounts, editing remarks, and deleting accounts.
Account management capabilities
Database accounts let you connect to databases in an instance. You can create accounts and grant privileges as needed.
The following table lists common account management tasks by instance type. Available operations and restrictions depend on the tenant compatibility mode and account type.
Account management task |
Description |
Supported instance types |
|---|---|---|
| Create an account | Create a database account for an application or user that needs database access. Set the account type and password, and grant the required privileges. | |
| Manage privileges | View or change an account’s privileges on databases or database objects. For example, grant the required read privileges to an account used only for reporting queries. | |
| Manage passwords | Reset the password if it’s forgotten or due for rotation. After the reset, update the connection settings for any applications or jobs that use the account. | |
| Lock an account | Lock an account if you suspect misuse or need to suspend access. Before locking it, check which applications or jobs still use it. | |
| Edit remarks | Record the account’s purpose or the team that owns it in the account remarks. This helps distinguish accounts in the same instance. | |
| Delete an account | Before deleting an unused account, confirm that no applications or jobs still depend on it. Deleted accounts cannot be restored. |
Account privileges
For details on the privileges of regular database accounts, see Account privileges.