mysql_get_host_info
mysql_get_host_info returns a string describing the connection type and server hostname for a MariaDB Connector/C connection, or NULL if invalid.
Last updated
Was this helpful?
mysql_get_host_info returns a string describing the connection type and server hostname for a MariaDB Connector/C connection, or NULL if invalid.
const char * mysql_get_host_info(MYSQL * mysql);mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Describes the type of connection in use for the connection, including the server host name.
Returns a string, describing host information or NULL if the connection is not valid.
Last updated
Was this helpful?
Was this helpful?

