View or change endpoints and ports
To connect to an ApsaraDB MyBase for MySQL instance, you need its internal or public endpoint and port number. This topic explains how to view and change these details.
View endpoints and ports
Log on to the ApsaraDB for MyBase console.
In the upper-left corner of the page, select the target region.
In the navigation pane on the left, choose .
Find the target instance and click Details in the Actions column. You can find the internal and public endpoints and port numbers in either of the following locations:
In the Basic Information section, click See Detail.
NoteThis method is supported only for ApsaraDB MyBase for MySQL High-availability Edition instances.
In the navigation pane on the left, click Database Connection to view the internal and public endpoints and port numbers.
NoteA public endpoint is displayed only after you request one for the instance. For instructions, see Request or release a public endpoint.
Change endpoints and ports
Log on to the ApsaraDB for MyBase console.
In the upper-left corner of the page, select the target region.
In the navigation pane on the left, choose .
Find the target instance and click Details in the Actions column. Then, in the navigation pane on the left, click Database Connection.
On the Database Connection page, click Change Endpoint.
In the dialog box that appears, select a connection type, enter an endpoint prefix, specify a port number, and click OK.
NoteThe endpoint prefix must start with a lowercase letter and can contain only lowercase letters, digits, and hyphens (-).
The endpoint prefix must be 8 to 64 characters long.