oci8 pear::db != connect

From: Date: Wed, 22 May 2002 09:18:06 +0000
Subject: oci8 pear::db != connect
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6320@lists.php.net to get a copy of this message
Hi, I am having trouble connecting to Oracle 8 with PEAR::DB 1.2 This is my connection string (real pwd hidden): --------------------- db_conn_str 'oci8://SHOOTOUT:******@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.101.161)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TIS)))' ----------------------------------------- This is a print_r dump of parsed DSN: ------------------------------------------ Array ( [phptype] => oci8 [dbsyntax] => oci8 [username] => SHOOTOUT [password] => ****** [protocol] => (DESCRIPTION= [hostspec] => [port] => [socket] => [database] => (HOST=192.168.101.161)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=TIS))) ) ------------------------------------------ I believe there is something wrong with DB::parseDSN() Should protocol be set to '(DESCRIPTION=' ? Cheers Roko

« previous php.pear.dev (#6320) next »