Changing a Database Port
Scenarios
You can change the database port of a GaussDB(for MySQL) instance. The change will be applied to the ports of the primary node and read replicas.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click
in the upper left corner of the page, choose .
- On the Instances page, click the instance name to go to the Basic Information page.
- In the Network Information area, click
in the Database Port field.
The database port of a GaussDB(for MySQL) instance ranges from 1025 to 65534, excluding 5342, 5343, 5344, 5345, 12017, 20000, 20201, 20202, 33060, 33062, and 33071, which are reserved for system use.- To submit the change, click
.
- In the displayed dialog box, click Yes.
- If you change the database port of an instance, the ports of the primary node and read replicas are changed accordingly and all of them are rebooted.
- This process takes about 1–5 minutes.
- In the displayed dialog box, click Yes.
- To cancel the change, click
.
- To submit the change, click
- View the results on the Basic Information page.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.