mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
SQL safe mode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221552 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
346e03a037
commit
5bf18bc49c
1 changed files with 12 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<refentry id="function.mysql-connect">
|
||||
<refnamediv>
|
||||
<refname>mysql_connect</refname>
|
||||
|
@ -36,7 +36,8 @@
|
|||
<para>
|
||||
If the PHP directive <link linkend="ini.mysql.default-host">
|
||||
mysql.default_host</link> is undefined (default), then the default
|
||||
value is 'localhost:3306'
|
||||
value is 'localhost:3306'. In &sqlsafemode;, this parameter is ignored
|
||||
and value 'localhost:3306' is always used.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -44,8 +45,10 @@
|
|||
<term><parameter>username</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The username. Default value is the name of the user that owns the
|
||||
server process.
|
||||
The username. Default value is defined by <link
|
||||
linkend="ini.mysql.default-user">mysql.default_user</link>. In
|
||||
&sqlsafemode;, this parameter is ignored and the name of the user that
|
||||
owns the server process is used.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,7 +56,9 @@
|
|||
<term><parameter>password</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The password. Default value is an empty password.
|
||||
The password. Default value is defined by <link
|
||||
linkend="ini.mysql.default-password">mysql.default_password</link>. In
|
||||
&sqlsafemode;, this parameter is ignored and empty password is used.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -68,6 +73,7 @@
|
|||
behavior and makes <function>mysql_connect</function> always open
|
||||
a new link, even if <function>mysql_connect</function> was called
|
||||
before with the same parameters.
|
||||
In &sqlsafemode;, this parameter is ignored.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -82,6 +88,7 @@
|
|||
<constant>MYSQL_CLIENT_IGNORE_SPACE</constant> or
|
||||
<constant>MYSQL_CLIENT_INTERACTIVE</constant>.
|
||||
Read the section about <xref linkend="mysql.client-flags" /> for further information.
|
||||
In &sqlsafemode;, this parameter is ignored.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue