MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0

7.8.4 Using Client Programs in a Multiple-Server Environment

To connect with a client program to a MySQL server that is listening to different network interfaces from those compiled into your client, you can use one of the following methods: