<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mysql.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'mysql.configuration.php',
    1 => 'Налаштування під час виконання',
    2 => 'Налаштування під час виконання',
  ),
  'up' => 
  array (
    0 => 'mysql.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'prev' => 
  array (
    0 => 'mysql.installation.php',
    1 => 'Встановлення',
  ),
  'next' => 
  array (
    0 => 'mysql.resources.php',
    1 => 'Типи ресурсів',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mysql/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysql.configuration" class="section">
 <h2 class="title">Налаштування під час виконання</h2>
 <p class="simpara">
На поведінку цих функцій випливають налаштування в <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table id="mysql.configuration.options" class="doctable table">
   <caption><strong>MySQL Configuration Options</strong></caption>
   
    <thead>
     <tr>
      <th>Назва</th>
      <th>Початково</th>
      <th>Де можна змінювати</th>
      <th>Журнал змін</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.allow-local-infile" class="link">mysql.allow_local_infile</a></td>
      <td>&quot;1&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.allow-persistent" class="link">mysql.allow_persistent</a></td>
      <td>&quot;1&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.max-persistent" class="link">mysql.max_persistent</a></td>
      <td>&quot;-1&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.max-links" class="link">mysql.max_links</a></td>
      <td>&quot;-1&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.trace-mode" class="link">mysql.trace_mode</a></td>
      <td>&quot;0&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.default-port" class="link">mysql.default_port</a></td>
      <td>NULL</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.default-socket" class="link">mysql.default_socket</a></td>
      <td>NULL</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.default-host" class="link">mysql.default_host</a></td>
      <td>NULL</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.default-user" class="link">mysql.default_user</a></td>
      <td>NULL</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.default-password" class="link">mysql.default_password</a></td>
      <td>NULL</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="mysql.configuration.php#ini.mysql.connect-timeout" class="link">mysql.connect_timeout</a></td>
      <td>&quot;60&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  Докладніша інформація та визначення режимів INI_* на сторінці <a href="configuration.changes.modes.php" class="xref">Де можна встановлювати параметри конфігурації</a>.
</p>

<p class="para">Тут є коротке пояснення директив
конфігурації.</p>

<p class="para">
 <dl>
  
  
   <dt id="ini.mysql.allow-local-infile">
    <code class="parameter">mysql.allow_local_infile</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <p class="para">
     Allow accessing, from PHP&#039;s perspective, local files with LOAD DATA
     statements
    </p>
   </dd>
  

  
   <dt id="ini.mysql.allow-persistent">
    <code class="parameter">mysql.allow_persistent</code>
    <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
   </dt>
   <dd>
    <p class="para">
     Whether to allow
     <a href="features.persistent-connections.php" class="link">persistent connections</a>
     to MySQL.
    </p>
   </dd>
  
  
  
   <dt id="ini.mysql.max-persistent">
    <code class="parameter">mysql.max_persistent</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <p class="para">
     The maximum number of persistent MySQL connections per
     process.
    </p>
   </dd>
  
  
  
   <dt id="ini.mysql.max-links">
    <code class="parameter">mysql.max_links</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <p class="para">
     The maximum number of MySQL connections per process, including
     persistent connections.
    </p>
   </dd>
  
  
  
   <dt id="ini.mysql.trace-mode">
    <code class="parameter">mysql.trace_mode</code>
    <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>
   </dt>
   <dd>
    <p class="para">
     Trace mode. When <code class="literal">mysql.trace_mode</code> is enabled, warnings 
     for table/index scans, non free result sets, and SQL-Errors will be 
     displayed. (Introduced in PHP 4.3.0)
    </p>
   </dd>
  

  
   <dt id="ini.mysql.default-port">
    <code class="parameter">mysql.default_port</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <p class="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 <var class="envar">MYSQL_TCP_PORT</var> environment
     variable, the <code class="literal">mysql-tcp</code> entry in
     <var class="filename">/etc/services</var> or the compile-time
     <strong><code>MYSQL_PORT</code></strong> constant, in that order. Win32
     will only use the <strong><code>MYSQL_PORT</code></strong> constant.
    </p>
   </dd>
  
  
  
   <dt id="ini.mysql.default-socket">
    <code class="parameter">mysql.default_socket</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <p class="para">
     The default socket name to use when connecting to a local
     database server if no other socket name is specified.
    </p>
   </dd>
  
   
   <dt id="ini.mysql.default-host">
    <code class="parameter">mysql.default_host</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <p class="para">
     The default server host to use when connecting to the database
     server if no other host is specified. Doesn&#039;t apply in
     <a href="ini.core.php#ini.sql.safe-mode" class="link">безпечний режим для SQL</a>.
    </p>
   </dd>
  
  
  
   <dt id="ini.mysql.default-user">
    <code class="parameter">mysql.default_user</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <p class="para">
     The default user name to use when connecting to the database
     server if no other name is specified. Doesn&#039;t apply in
     <a href="ini.core.php#ini.sql.safe-mode" class="link">безпечний режим для SQL</a>.
    </p>
   </dd>
  
  
  
   <dt id="ini.mysql.default-password">
    <code class="parameter">mysql.default_password</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <p class="para">
     The default password to use when connecting to the database
     server if no other password is specified. Doesn&#039;t apply in
     <a href="ini.core.php#ini.sql.safe-mode" class="link">безпечний режим для SQL</a>.
    </p>
   </dd>
  
   
   <dt id="ini.mysql.connect-timeout">
    <code class="parameter">mysql.connect_timeout</code>
    <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
   </dt>
   <dd>
    <p class="para">
     Connect timeout in seconds. On Linux this timeout is also used for
     waiting for the first answer from the server.
    </p>
   </dd>
  
  
 </dl>
 </p>
</div><?php manual_footer($setup); ?>