Returns a string describing the type of connection in use, including the server host name.
const char *mysql_get_host_info(MYSQL *mysql)
A character string representing the server host name and the connection type.