(PHP 4 >= 4.0.5, PHP 5)
mysql_get_proto_info — ȡ�� MySQL Э����Ϣ
$link_identifier
] ) : int
mysql_get_proto_info() ����
link_identifier
��ʹ�õ�Э��汾�����ʡ��
link_identifier
����ʹ����һ�������ӡ�
Example #1 mysql_get_proto_info() ����
<?php
mysql_connect("localhost", "mysql_user", "mysql_password") or
die("Could not connect: " . mysql_error());
printf ("MySQL protocol version: %s\n", mysql_get_proto_info());
?>
�������ӽ��������������
MySQL protocol version: 10
�μ� mysql_get_client_info()��mysql_get_host_info() �� mysql_get_server_info()��