For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > April 2006 > cvs: phpdoc /en/reference/pdo_oci reference.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/pdo_oci reference.xml
Jakub Vrana

2006-04-26, 7:58 am

vrana Wed Apr 26 12:32:40 2006 UTC

Modified files:
/phpdoc/en/reference/pdo_oci reference.xml
Log:
Use dbname with tnsnames.ora (bug #37110)
charset element

http://cvs.php.net/viewcvs.cgi/phpd...6&diff_format=u
Index: phpdoc/en/reference/pdo_oci/reference.xml
diff -u phpdoc/en/reference/pdo_oci/reference.xml:1.5 phpdoc/en/reference/pdo_oci/reference.xml:1.6
--- phpdoc/en/reference/pdo_oci/reference.xml:1.5 Sun Sep 11 06:17:08 2005
+++ phpdoc/en/reference/pdo_oci/reference.xml Wed Apr 26 12:32:40 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- Purpose: database.vendors -->
<!-- Membership: bundled, external, pecl -->

@@ -34,9 +34,7 @@
<term>DSN prefix</term>
<listitem>
<para>
- The DSN prefix is <userinput>oci:</userinput>. If you are connecting
- to a database defined in <filename>tnsnames.ora</filename>, append the
- name of the database to the DSN prefix and your DSN is complete.
+ The DSN prefix is <userinput>oci:</userinput>.
</para>
</listitem>
</varlistentry>
@@ -46,6 +44,17 @@
<para>
The URI for the Oracle Instant Client connection takes the form of
<userinput>dbname=//<varname>hostname</varname>:<varname>port-number</varname>/<varname>database</varname></userinput>.
+ If you are connecting to a database defined in
+ <filename>tnsnames.ora</filename>, use only the name of the database:
+ <userinput>dbname=<varname>database</varname></userinput>.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>charset</constant></term>
+ <listitem>
+ <para>
+ The client-side character set for the current environment handle.
</para>
</listitem>
</varlistentry>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com