I have this problem. I am trying to connect two VPS servers with different IP adresses on one VPS there is SMS system I connect to mysql by "localhost" . . . but I try to connect the other one to the first one (by writing IP adress of the first VPS server not "localhost") so that it would be one system for both IP adresses, but there is error : "Cannot connect to mysql "first VPS IP adress that I type in in place of "localhost".