Re: DB_DataObject with oci8
| From: | Ony S Darmawan | Date: | Mon, 20 Jun 2005 06:02:32 +0000 |
| Subject: | Re: DB_DataObject with oci8 | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19686@lists.php.net to get a copy of this message | ||
ah, finaly i found my fault here
database_dbname = oci8://myuser:myuser@(DESCRIPT
>
> ION =(ADDRESS_LIST
> =(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST =
> 10.3.8.17 <http://10.3.8.17>)))(CONNECT_DATA
> =(SERVICE_NAME =
> orcl)(SRVR=DEDICATED)))
>
that should be :
database_devibcs = "
oci8://myuser:myuser@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(PORT=1521)(HOST=10.3.8.17)))(CONNECT_DATA=(SERVICE_NAME=orcl)(SRVR=DEDICATED)))
"
thanks guys.
On 6/20/05, Ony S Darmawan <ony.s.darmawan@gmail.com> wrote:
>
> hi pear users,
>
> how can i use oracle connection string in dataobject.ini instead of
> the database name?
>
> forex:
> database_dbname = oci8://myuser:myuser@(DESCRIPTION =(ADDRESS_LIST
> =(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST =
> 10.3.8.17 <http://10.3.8.17>)))(CONNECT_DATA
> =(SERVICE_NAME =
> orcl)(SRVR=DEDICATED)))
>
> instead of
>
> database_dbname = oci8://myuser:myuser@orcl
>
> i'm looking forward to hear from you guys soon.
>
> best regards
>
> ony
>
>
> --
> -[s]---------------------------------------------------
> Ony S Darmawan
> ---------------------------------------------------[e]-
>
--
-[s]---------------------------------------------------
Ony S Darmawan
---------------------------------------------------[e]-