Re: oci8 DataObject DSN with instant client
| From: | Leo Márquez | Date: | Thu, 06 Oct 2005 07:31:18 +0000 |
| Subject: | Re: oci8 DataObject DSN with instant client | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21256@lists.php.net to get a copy of this message | ||
Hi again, more info...
Next I have putted this dsn in myconfig.ini: oci8ext://user:passwd@host/sid With the result: connect failed. Any solution? Thanks -- Salutacions, Leo Márquez [ Enginyeria del Software / Internet ] [ Calidae - www.calidae.com ] [ Himalaya Servers - www.himalayaservers.com ]Ok thank you for your answer. I understand the problem but... how can I use the ext driver in a myconfig.ini file and createTables.php? I'm tried to set a dsn with this driver. Firt I have copied the oci8ext.php file in the DB directory with the other drivers.Don't have it meaning that it is not needed (Instant client "automatically" figures it out somehow?) or that you haven't created one? In my experience with Oracle you always have to do some fudging to make it connect properly as it doesn't follow normal DSN-like rules. I use an extended oci8 driver which automatically munges my hostspec into something that works for me. http://pear.reversefold.com/oci8ext.phps This may not quite work for you (try it and see, of course) but it should be easily changeable to work with your setup. -- Justin Patrin