This topic describes how to change the name of a tenant in a cluster instance.
Prerequisites
Before you change the tenant name, perform the following checks. The operation can be performed only if the following conditions are met:
The current tenant is running.
The cluster instance to which the current tenant belongs is running.
Procedure
You can change the tenant name through any of the following three methods:
Method 1: Log in to the OceanBase Cloud console. On the Tenants page, click the more icon ··· in the Actions column of the target tenant and select Edit Name.
Method 2: Log in to the OceanBase Cloud console. In the upper-right corner of the tenant workspace, click the more icon ··· and select Edit Name.
Method 3: Log in to the OceanBase Cloud console. Expand the tenants under the target cluster in the Instances list, click the more icon ··· corresponding to the target tenant, and select Edit Name.
The following procedure uses Method 1 as an example:
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target cluster instance and click its name to go to the instance workspace.
In the left-side navigation pane, click Tenants.
In the Tenants list, click the more icon ··· in the Actions column of the target tenant and select Edit Name.
Note
The tenant name must be 2 to 64 characters in length and can contain only Chinese characters, digits, English letters, underscores, and hyphens.
After you make the changes, click OK.