dbs Mon Feb 19 16:16:25 2007 UTC
Modified files:
/phpdoc/en/reference/pdo_oci reference.xml
Log:
Correct example connection using tnsnames.ora
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo_oci/reference.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/pdo_oci/reference.xml
diff -u phpdoc/en/reference/pdo_oci/reference.xml:1.6
phpdoc/en/reference/pdo_oci/reference.xml:1.7
--- phpdoc/en/reference/pdo_oci/reference.xml:1.6 Wed Apr 26 12:32:40 2006
+++ phpdoc/en/reference/pdo_oci/reference.xml Mon Feb 19 16:16:25 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- Purpose: database.vendors -->
<!-- Membership: bundled, external, pecl -->
@@ -70,7 +70,10 @@
The following examples show a PDO_OCI DSN for connecting to
Oracle databases:
<programlisting><![CDATA[
-oci:mydb
+// Connect to a database defined in tnsnames.ora
+oci:dbname=mydb
+
+// Connect using the Oracle Instant Client
oci:dbname=//localhost:1521/mydb
]]>
</programlisting>