PHP Manual
Prev |  | Next

# mysql_get_host_info

(PHP 4 >= 4.0.5)

mysql_get_host_info -- Get MySQL host info

## Description

``string mysql_get_host_info` ([resource link_identifier])`

mysql_get_host_info() returns a string describing the type of connection in use for the connection `link_identifier`, including the server host name. If `link_identifier` is omited, the last opened connection will be used.

mysql_get_host_info() was added in PHP 4.0.5.

Prev | Home | Next
mysql_get_client_info | Up | mysql_get_proto_info