All Products
Search
Document Center

PolarDB:Manage databases

Last Updated:Nov 17, 2025

You can create and manage databases for PolarDB for MySQL on ENS clusters in the console.

Create a database

  1. Go to the PolarDB for MySQL Edge Clusters page. Click the ID of the target cluster. In the navigation pane on the left, choose Settings And Management > Databases .

  2. Click Create Database. Set the following parameters and click OK.

    Parameter

    Description

    Database Name

    The name of the database. The name must meet the following requirements:

    • Starts with a letter and ends with a letter or a digit.

    • Is 2 to 64 characters in length.

    • Contains only lowercase letters, digits, hyphens (-), and underscores (_).

    Note
    • The database (DB) name must be unique within the cluster.

    • Do not use reserved keywords, such as test or mysql, as the database name.

    Character Set

    Select a character set for the database, such as utf8mb4, utf8, gbk, or latin1. The default value is utf8mb4.

    Collation

    Select a collation for the database. The available options depend on the character set that you selected.

    Authorized Account

    Select the accounts to grant access to this database. You can leave this parameter empty and specify permissions later when you create the database account.

    Note

    Only standard accounts are displayed here. This is because privileged accounts have all permissions on all databases and do not require authorization.

    Account Permissions

    Select the permissions to grant to the account. Valid values are Read/Write, Read-only, DML Only, DDL Only, and Read-only + Index.

    Description

    Enter a description for the database to facilitate future management. The description must meet the following requirements:

    • Cannot start with http:// or https://.

    • Is 2 to 256 characters in length.

Delete a database

Warning

After you delete a database, you can no longer access it. Proceed with caution.

  1. Go to the PolarDB Edge Clusters page. Click the ID of the target cluster. In the navigation pane on the left, choose Settings And Management > Databases.

  2. Find the database that you want to delete and click Delete in the Actions column. Click OK.