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
- Log in to the management console.
- Click
in the upper left corner and select a region and a project. - Click Service List. Under Database, click GaussDB.
- On the Instance Management page, click the target DB instance. The Basic Information page is displayed.
- In the Network Information area, click
in the Database Port field.
Figure 1 Changing a database port
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.
- 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.
- This process takes about 1–5 minutes.
- In the dialog box, click Yes.
- To cancel the change, click
.
- To submit the change, click
- View the result of the change on the Basic Information page.
Last Article: Binding and Unbinding an EIP
Next Article: DB Instance Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.