Binding MySQL to run from the public or private LAN IP address - which one is faster
- by Lamin Barrow
So we have 2 servers all running at the same web host. We have bind MySQL to listen on the public ip-address of the database server and the web server connects to it from the public ip. Both servers run on the same private network.
Currently, the DB connect method from our php script takes about 3ms to connect to the MySQL database server host.
…