svn: /phpdoc/en/trunk/reference/pdo_mysql/ reference.xml
| From: | Kalle Sommer Nielsen | Date: | Wed, 20 Oct 2010 09:15:48 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pdo_mysql/ reference.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7268@lists.php.net to get a copy of this message | ||
kalle Wed, 20 Oct 2010 09:15:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304553
Log:
Clarify the meaning of "localhost" correctly as requested by Johannes
Changed paths:
U phpdoc/en/trunk/reference/pdo_mysql/reference.xml
Modified: phpdoc/en/trunk/reference/pdo_mysql/reference.xml
===================================================================
--- phpdoc/en/trunk/reference/pdo_mysql/reference.xml 2010-10-20 09:14:21 UTC (rev 304552)
+++ phpdoc/en/trunk/reference/pdo_mysql/reference.xml 2010-10-20 09:15:48 UTC (rev 304553)
@@ -129,9 +129,10 @@
<note>
<title>Unix only:</title>
<para>
- When PDO_MYSQL is compiled against mysqlnd, usage of <literal>localhost</literal>
- as host name tells MySQL to use a Unix domain socket, requiring a default socket to
- be set in the DSN string or in &php.ini; using the <link
linkend="ini.pdo-mysql.default-socket">
+ When the host name is set to <literal>"localhost"</literal>, then the
connection to the
+ server is made thru a domain socket. If PDO_MYSQL is compiled against libmysql then the
+ location of the socket file is at libmysql's compiled in location. If PDO_MYSQL is
compiled
+ against mysqlnd a default socket can be set thru the <link
linkend="ini.pdo-mysql.default-socket">
pdo_mysql.default_socket</link> setting.
</para>
</note>