object(mysqli)#14 (19) { ["affected_rows"]=> int(0) ["client_info"]=> string(79) "mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $" ["client_version"]=> int(50011) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(0) ["error"]=> string(0) "" ["error_list"]=> array(0) { } ["field_count"]=> int(0) ["host_info"]=> string(25) "Localhost via UNIX socket" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(21) "5.5.5-10.1.48-MariaDB" ["server_version"]=> int(50505) ["stat"]=> string(156) "Uptime: 14078248 Threads: 4 Questions: 1518121615 Slow queries: 904 Opens: 484564 Flush tables: 650 Open tables: 2000 Queries per second avg: 107.834" ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(66201200) ["warning_count"]=> int(0) } DB select ok
5.5.5-10.1.48-MariaDB

Rows = 333
object(mysqli_result)#15 (5) { ["current_field"]=> int(0) ["field_count"]=> int(43) ["lengths"]=> NULL ["num_rows"]=> int(333) ["type"]=> int(0) } DB1 connected
DB1 query OK
5.5.5-10.1.48-MariaDB



DB2 connect Fail
DB2 query Fail
Users on server 2: