mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292247 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c1f984c21f
commit
c83a8768d8
1 changed files with 7 additions and 7 deletions
|
@ -25,17 +25,17 @@
|
|||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns a string with the status for uptime, threads, queries, open tables,
|
||||
flush tables and queries per second. For a complete list of other status
|
||||
variables, you have to use the <literal>SHOW STATUS</literal> SQL command.
|
||||
Returns a string with the status for uptime, threads, queries, open tables,
|
||||
flush tables and queries per second. For a complete list of other status
|
||||
variables, you have to use the <literal>SHOW STATUS</literal> SQL command.
|
||||
If <parameter>link_identifier</parameter> is invalid, &null; is returned.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
@ -75,7 +75,7 @@ Array
|
|||
<![CDATA[
|
||||
<?php
|
||||
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
|
||||
$result = mysql_query('SHOW VARIABLES', $link);
|
||||
$result = mysql_query('SHOW STATUS', $link);
|
||||
while ($row = mysql_fetch_assoc($result)) {
|
||||
echo $row['Variable_name'] . ' = ' . $row['Value'] . "\n";
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ bdb_cache_size = 8388600
|
|||
bdb_log_buffer_size = 32768
|
||||
bdb_home = /var/db/mysql/
|
||||
bdb_max_lock = 10000
|
||||
bdb_logdir =
|
||||
bdb_logdir =
|
||||
bdb_shared_data = OFF
|
||||
bdb_tmpdir = /var/tmp/
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue