Sorunu yanlış anlamadıysam aşağıdaki gibi yapabilirsin. Hangi sunucudan ne yapmak istiyorsanda $db1 ve $db2 ile işlem yaparsın.

$host1="localhost";
$user1="";
$pass1="";

try {
$db1 = new PDO("mysql:host=localhost;dbname=".$host1, $user1, $pass1);
$db1->query("SET CHARACTER SET utf8");
} catch ( PDOException $e ){
print $e->getMessage();
}

$host2="192.192.192.192";
$user2="";
$pass2="";

try {
$db2 = new PDO("mysql:host=localhost;dbname=".$host2, $user2, $pass2);
$db2->query("SET CHARACTER SET utf8");
} catch ( PDOException $e ){
print $e->getMessage();
}