MySQL Network Communications

This topic describes MySQL internal network communication paths with other Pivotal Application Service (PAS) components.

These communications only apply to deployments where internal MySQL is selected as the PAS database.

Inbound and Internal Communications

The following table lists network communication paths that are inbound and internal to MySQL.

Source VM Destination VM Port Transport Layer Protocol App Layer Protocol Security and Authentication
cloud_controller mysql_proxy 3306 TCP MySQL MySQL authentication*
cloud_controller_worker mysql_proxy 3306 TCP MySQL MySQL authentication*
clock_global mysql_proxy 3306 TCP MySQL MySQL authentication*
diego_database mysql_proxy 3306 TCP MySQL MySQL authentication*
mysql mysql (Galera) 4567 TCP MySQL MySQL authentication*
mysql_monitor mysql (Galera health check) 9200 TCP HTTP Basic authentication
mysql_monitor mysql_proxy (Proxy health check) 1936 TCP MySQL Basic authentication
mysql_proxy mysql (MySQL Server) 3306 TCP MySQL MySQL authentication*
mysql_proxy mysql (Proxy API) 8080 TCP HTTP Basic authentication
uaa mysql_proxy 3306 TCP MySQL MySQL authentication*

(*) MySQL authentication uses the MySQL native password method.

Outbound Communications

The following table lists network communication paths that are outbound from MySQL.

Source VM Destination VM Port Transport Layer Protocol App Layer Protocol Security and Authentication
mysql_proxy (Route Registrar) nats 4222 TCP NATS Basic authentication

Consul Communications

All MySQL Proxy instances register themselves with Consul, which enables PAS components that use Consul for service discovery to find available proxies. For more information, see Consul Network Communications.

BOSH DNS Communications

Application containers look up services using the BOSH DNS service discovery mechanism. To support this lookup, BOSH Director colocates a BOSH DNS server on every deployed VM. For more information, see BOSH DNS Network Communications.

Create a pull request or raise an issue on the source for this page in GitHub