I am trying to setup a round robin MySQL Server (Master-Master) with the same DNS. Everything is working fine, even if I stopped any mysql-server. The problem is when one of the mysql-server is turned off, the php mysqli connection is not working anymore and after 30 sec is automatically killed.
Any idea why is this happening? What can I do?