All Products
Search
Document Center

PolarDB:View database information

Last Updated:Mar 28, 2026

Use the Database Management section of the PolarDB for Xscale console to view connection details, manage read-only database users, reset passwords, and delete databases.

View database details

  1. Log on to the PolarDB for Xscale console.

  2. In the top navigation bar, select the region where your instance is located.

  3. In the left-side navigation pane, click Instances.

  4. Find the target instance and click the instance ID.

  5. In the left menu bar, click Database Management.

  6. On the Databases page, click the database name.

The Basic Information page displays the following information:

FieldDescription
Database nameThe name of the database, which is also the username for MySQL client connections
StatusThe current operational status of the database
Work modeThe database work mode
Command-line URLThe connection string for MySQL client access

Connect to the database using a MySQL client

PolarDB-X 1.0 is fully compatible with MySQL. To connect from a MySQL client, copy the command-line URL from the Basic Information page, paste it into your operating system client, and enter your password to log on.

Keep the following constraints in mind:

Note
  • Some older MySQL clients require usernames of 16 characters or fewer. Because the database name and username are identical in PolarDB-X 1.0, setting a database name longer than 16 characters during creation returns an error.

  • If you use hints with a MySQL client, add the -c parameter to the command. PolarDB-X 1.0 implements hints through SQL comments. Without -c, the comment is stripped and the hint is lost.