mysql_get_host_info — Returns host information
const char * mysql_get_host_info(MYSQL * mysql);
Describes the type of connection in use for the connection, including the server host name.
mysql
A mysql handle, which was previously allocated by mysql_init()
or mysql_real_connect()
.