Enabling or Disabling SQL Explorer

Enabling SQL Explorer will allow GaussDB(for MySQL) to store all SQL statement logs for analysis.

By default, SQL Explorer is disabled for GaussDB(for MySQL). This section describes how to enable and disable SQL Explorer.

Enabling SQL Explorer

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Databases, click GaussDB(for MySQL).
  4. On the Instances page, click the target instance.
  5. In the navigation pane on the left, choose Advanced O&M.
  6. In the SQL Explorer tab, set to . In the displayed dialog box, select I have read the agreement and agree to having my data stored, and click OK.

    Figure 1 Enabling SQL Explorer

    SQL data is stored for 1 day by default and will be automatically deleted after that time expires.

Disabling SQL Explorer

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Databases, click GaussDB(for MySQL).
  4. On the Instances page, click the target instance.
  5. In the navigation pane on the left, choose Advanced O&M. Click SQL Explorer and set to .