mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Correct example connection using tnsnames.ora
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230238 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fedbc1551f
commit
11a7702de9
1 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue