Help Center> GaussDB> Getting Started> Connecting to a DB Instance Using a Database Client> Connecting to an Instance Through DAS(Recommended)
Updated on 2024-07-16 GMT+08:00

Connecting to an Instance Through DAS (Recommended)

Scenarios

DAS enables you to manage your databases from a web-based console. It supports SQL execution, advanced database management, and intelligent O&M, simplifying database management and improving both efficiency and data security.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, locate the DB instance you want to log in to and click Log In in the Operation column.

    Figure 1 Logging in to an instance

    Alternatively, click the DB instance name on the Instances page. On the displayed Basic Information page, click Log In in the upper right corner of the page.

    Figure 2 Logging in to an instance

  5. On the displayed login page, enter the username and password and click Log In.

    Table 1 Parameter description

    Parameter

    Description

    Login Username

    Username of the GaussDB database account. The default administrator is root.

    Database Name

    Name of the database (postgres by default).

    Password

    Password of the database user.

    Collect Metadata Periodically

    You are advised to enable Collect Metadata Periodically. If it is disabled, DAS obtains only the structured data from databases in real time, and the performance of databases is affected.

    The collection time cannot be customized. Once Collect Metadata Periodically is enabled, DAS collects metadata at 20:00 every day (UTC time). If you are not using a UTC time, convert the time according to your local time zone. You can also click Collect Now to collect metadata at any time you want.

    Show Executed SQL Statements

    You are advised to enable Show Executed SQL Statements. With it enabled, you can view the executed SQL statements under SQL Operations > SQL History and execute them again without entering the SQL statements.

    For details about how to use DAS to manage databases, see GaussDB Management.

Follow-up Operations

After logging in to the DB instance, you can create or migrate your databases.