doc-exports/docs/gaussdb_mysql/umn/gaussdb_03_0012.html
Wang , Deng Ke 024ed39d62 gaussdb
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2023-11-27 14:17:27 +00:00

4.2 KiB
Raw Blame History

Changing a Database Port

Scenarios

You can change the database port of a GaussDB(for MySQL) instance. The change applies to the ports of the primary node and read replicas, and may affect services intermittently.

Constraints

The port number of the proxy instance is independent of that of the instance. Changing the port number of the DB instance does not change the port number of the proxy instance.

Procedure

  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 Database, click GaussDB.
  4. On the Instances page, click the target DB instance. The Basic Information page is displayed.
  5. In the Network Information area, click in the Database Port field.

    The GaussDB(for MySQL) database port ranges from 1025 to 65534, excluding 5342, 5343, 5344, 5345, 12017, 20000, 20201, and 20202, which are occupied by the system and cannot be used.
    • To submit the change, click .
      • In the dialog box, click Yes.
        1. If you change the database port of a DB instance, the ports of the primary node and read replicas are also changed accordingly and all of them are rebooted.
        2. This process takes about 15 minutes.
    • To cancel the change, click .

  6. View the result of the change on the Basic Information page.