Get Database details of a different server

I have error regarding of getting database details of a different server. I want to get the database details from the other server. I have tried this code but it shows this error.

Please check the below error :

Read More
mysqli_connect(): (HY000/2003): Can't connect to MySQL server on '192.81.134.56' (111)

Any way to solve this error it may be very helpful for me.

Related posts