I have a script which contacts a mySQL server for some data.
I have 2 servers. Different companys.
Each has a backup of the data. If one fails it contacts the other.
Now one server on Vidahost works correctly even if it fails. But the other one cant contact the Vidahost mySQL server when it fails.
This is the error:
Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'host name' (110) in test.php
Ive added the IP address to the remote mySQL connections.
I can connect to both servers from my home PC running php.
Any ideas ?
I have 2 servers. Different companys.
Each has a backup of the data. If one fails it contacts the other.
Now one server on Vidahost works correctly even if it fails. But the other one cant contact the Vidahost mySQL server when it fails.
This is the error:
Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on 'host name' (110) in test.php
Ive added the IP address to the remote mySQL connections.
I can connect to both servers from my home PC running php.
Any ideas ?
Last edited: