ң

mysql_get_host_info

(PHP 4 >= 4.0.5)

mysql_get_host_info - MySQL-.

string mysql_get_host_info ([resource link_identifier])

mysql_get_host_info() , link_identifier , . link_identifier , .

1. mysql_get_host_info
<?php mysql_connect("localhost", "mysql_user", "mysql_password") or die("could not connect"); printf ("MySQL host info: %s\n", mysql_get_host_info()); ?>

:

MySQL host info: Localhost via UNIX socket

. mysql_get_client_info() , mysql_get_proto_info() mysql_get_server_info() .


ң
mysql_get_client_info mysql_get_proto_info