ң

mysql_stat

( PHP 4 CVS)

mysql_stat - .

string mysql_stat ([resource link_identifier])

mysql_stat() .

: mysql_stat() /uptime, , , , . sql- SHOW STATUS.

1. mysql_stat()
<?php $link = mysql_connect('localhost', "mysql_user", "mysql_password"); printf("%s\n", mysql_stat($link)); ?>

:

Uptime: 5380 Threads: 1 Questions: 1321299 Slow queries: 1 Opens: 26 Flush tables: 1 Open tables: 17 Queries per second avg: 245.595

ң
mysql_select_db mysql_tablename