MDB2 with oci8 DSN

From: Date: Fri, 26 Sep 2008 10:34:42 +0000
Subject: MDB2 with oci8 DSN
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29297@lists.php.net to get a copy of this message
Hi, I'm having trouble connecting to am oracle database using MDB2. I've installed oci8 extension for PHP and think that is working. I've also installed the MDB2_Driver_oci8. I'm getting this message: ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA If I use this dsn : oci8://USERNAME:***@MISSERVER.leeds-art.ac.uk/STUDENTS And this message: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor If I use this dsn: oci8://USERNAME:***@MISSERVER.leeds-art.ac.uk/?service=STUDENTS Am I formatting the dsn wrongly? What is the correct format? Thanks Ryan

« previous php.pear.general (#29297) next »