<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="mysql.configuration" xmlns="http://docbook.org/ns/docbook">
 &reftitle.runtime;
 &extension.runtime;
 <para>
  <table xml:id="mysql.configuration.options">
   <title>MySQL Configuration Options</title>
   <tgroup cols="4">
    <thead>
     <row>
      <entry>&Name;</entry>
      <entry>&Default;</entry>
      <entry>&Changeable;</entry>
      <entry>&Changelog;</entry>
     </row>
    </thead>
    <tbody xml:id="mysql.configuration.list">
     <row>
      <entry><link linkend="ini.mysql.allow-local-infile">mysql.allow_local_infile</link></entry>
      <entry>"1"</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.allow-persistent">mysql.allow_persistent</link></entry>
      <entry>"1"</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.max-persistent">mysql.max_persistent</link></entry>
      <entry>"-1"</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.max-links">mysql.max_links</link></entry>
      <entry>"-1"</entry>
      <entry>PHP_INI_SYSTEM</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.trace-mode">mysql.trace_mode</link></entry>
      <entry>"0"</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.default-port">mysql.default_port</link></entry>
      <entry>NULL</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.default-socket">mysql.default_socket</link></entry>
      <entry>NULL</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.default-host">mysql.default_host</link></entry>
      <entry>NULL</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.default-user">mysql.default_user</link></entry>
      <entry>NULL</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.default-password">mysql.default_password</link></entry>
      <entry>NULL</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
     <row>
      <entry><link linkend="ini.mysql.connect-timeout">mysql.connect_timeout</link></entry>
      <entry>"60"</entry>
      <entry>PHP_INI_ALL</entry>
      <entry></entry>
     </row>
    </tbody>
   </tgroup>
  </table>
  &ini.php.constants;
</para>

&ini.descriptions.title;

<para>
 <variablelist>
  
  <varlistentry xml:id="ini.mysql.allow-local-infile">
   <term>
    <parameter>mysql.allow_local_infile</parameter>
    <type>int</type>
   </term>
   <listitem>
    <para>
     Allow accessing, from PHP's perspective, local files with LOAD DATA
     statements
    </para>
   </listitem>
  </varlistentry>

  <varlistentry xml:id="ini.mysql.allow-persistent">
   <term>
    <parameter>mysql.allow_persistent</parameter>
    <type>bool</type>
   </term>
   <listitem>
    <para>
     Whether to allow
     <link linkend="features.persistent-connections">persistent connections</link>
     to MySQL.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry xml:id="ini.mysql.max-persistent">
   <term>
    <parameter>mysql.max_persistent</parameter>
    <type>int</type>
   </term>
   <listitem>
    <para>
     The maximum number of persistent MySQL connections per
     process.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry xml:id="ini.mysql.max-links">
   <term>
    <parameter>mysql.max_links</parameter>
    <type>int</type>
   </term>
   <listitem>
    <para>
     The maximum number of MySQL connections per process, including
     persistent connections.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry xml:id="ini.mysql.trace-mode">
   <term>
    <parameter>mysql.trace_mode</parameter>
    <type>bool</type>
   </term>
   <listitem>
    <para>
     Trace mode. When <literal>mysql.trace_mode</literal> is enabled, warnings 
     for table/index scans, non free result sets, and SQL-Errors will be 
     displayed. (Introduced in PHP 4.3.0)
    </para>
   </listitem>
  </varlistentry>

  <varlistentry xml:id="ini.mysql.default-port">
   <term>
    <parameter>mysql.default_port</parameter>
    <type>string</type>
   </term>
   <listitem>
    <para>
     The default TCP port number to use when connecting to
     the database server if no other port is specified. If
     no default is specified, the port will be obtained
     from the <envar>MYSQL_TCP_PORT</envar> environment
     variable, the <literal>mysql-tcp</literal> entry in
     <filename>/etc/services</filename> or the compile-time
     <constant>MYSQL_PORT</constant> constant, in that order. Win32
     will only use the <constant>MYSQL_PORT</constant> constant.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry xml:id="ini.mysql.default-socket">
   <term>
    <parameter>mysql.default_socket</parameter>
    <type>string</type>
   </term>
   <listitem>
    <para>
     The default socket name to use when connecting to a local
     database server if no other socket name is specified.
    </para>
   </listitem>
  </varlistentry>
   <varlistentry xml:id="ini.mysql.default-host">
   <term>
    <parameter>mysql.default_host</parameter>
    <type>string</type>
   </term>
   <listitem>
    <para>
     The default server host to use when connecting to the database
     server if no other host is specified. Doesn't apply in
     &sqlsafemode;.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry xml:id="ini.mysql.default-user">
   <term>
    <parameter>mysql.default_user</parameter>
    <type>string</type>
   </term>
   <listitem>
    <para>
     The default user name to use when connecting to the database
     server if no other name is specified. Doesn't apply in
     &sqlsafemode;.
    </para>
   </listitem>
  </varlistentry>
  
  <varlistentry xml:id="ini.mysql.default-password">
   <term>
    <parameter>mysql.default_password</parameter>
    <type>string</type>
   </term>
   <listitem>
    <para>
     The default password to use when connecting to the database
     server if no other password is specified. Doesn't apply in
     &sqlsafemode;.
    </para>
   </listitem>
  </varlistentry>
   <varlistentry xml:id="ini.mysql.connect-timeout">
   <term>
    <parameter>mysql.connect_timeout</parameter>
    <type>int</type>
   </term>
   <listitem>
    <para>
     Connect timeout in seconds. On Linux this timeout is also used for
     waiting for the first answer from the server.
    </para>
   </listitem>
  </varlistentry>
  
 </variablelist>
 </para>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
