doc-exports/docs/gaussdb_mysql/umn/gaussdb_03_0012.html
Wang , Deng Ke a3ce99ce37 gaussdb UMN Initial version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2022-12-02 11:14:54 +00:00

3.9 KiB
Raw Blame History

Changing a Database Port

Scenarios

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

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 Instance Management 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.