Author: docauto
Date: 2010-07-23 16:04:34 +0200 (Fri, 23 Jul 2010)
New Revision: 21876
Log:
PHP auto-update
Modified:
trunk/refman-common/apis-php-mysqli.xml
trunk/refman-common/apis-php-mysqlnd.xml
Modified: trunk/refman-common/apis-php-mysqli.xml
===================================================================
--- trunk/refman-common/apis-php-mysqli.xml 2010-07-23 13:12:08 UTC (rev 21875)
+++ trunk/refman-common/apis-php-mysqli.xml 2010-07-23 14:04:34 UTC (rev 21876)
Changed blocks: 1, Lines Added: 6, Lines Deleted: 1; 622 bytes
@@ -653,7 +653,12 @@
MYSQL extensions to use the MySQL Native Driver:
</para>
-<programlisting></programlisting>
+<programlisting><![CDATA[
+./configure --with-mysql=/usr/bin/mysql_config \
+--with-mysqli=mysqlnd \
+--with-pdo-mysql=mysqlnd
+[other options]
+]]></programlisting>
<section id="apis-php-mysqli.installation.windows">
Modified: trunk/refman-common/apis-php-mysqlnd.xml
===================================================================
--- trunk/refman-common/apis-php-mysqlnd.xml 2010-07-23 13:12:08 UTC (rev 21875)
+++ trunk/refman-common/apis-php-mysqlnd.xml 2010-07-23 14:04:34 UTC (rev 21876)
Changed blocks: 2, Lines Added: 13, Lines Deleted: 2; 1075 bytes
@@ -204,7 +204,10 @@
Driver, the following command would be given:
</para>
-<programlisting></programlisting>
+<programlisting><![CDATA[./configure --with-mysql=mysqlnd \
+--with-mysqli=mysqlnd \
+--with-pdo-mysql=mysqlnd \
+[other options]]]></programlisting>
<para>
<emphasis>Installation on Windows</emphasis>
@@ -343,8 +346,16 @@
using <literal>mysqli</literal>:
</para>
-<programlisting></programlisting>
+<programlisting><![CDATA[$host="p:localhost";
+$port=3306;
+$socket="/tmp/mysql.sock";
+$user="root";
+$password="password";
+$dbname="test";
+$conn = new mysqli($host, $user, $password, $dbname, $port, $socket)
+ or die ('Could not connect to the database server' . mysqli_connect_error());]]></programlisting>
+
</section>
<section id="apis-php-mysqlnd.stats">
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r21876 - trunk/refman-common | mc.brown | 23 Jul |