For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Syntax

const char * mysql_get_host_info(MYSQL * mysql);

Parameter

Description

Describes the type of connection in use for the connection, including the server host name.

Return Value

Returns a string, describing host information or NULL if the connection is not valid.

See Also

spinner

Last updated

Was this helpful?