DataObjects, Oracle, and DSN weirdness
| From: | Jeff Loiselle | Date: | Fri, 25 Aug 2006 02:23:30 +0000 |
| Subject: | DataObjects, Oracle, and DSN weirdness | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24985@lists.php.net to get a copy of this message | ||
Hello,
For some reason in my newest Oracle project the standard DSN does not
work. I don't know much about Oracle except for the fact that I'm made
to use it. But the DSN has always been normal in the past. So my
latest troubles are that...
This does not work:
oci8://user:pass@someserver/database
But this does:
oci8://user:pass@someserver
So if i lose the database portion of the DSN it connects.
Unfortunately, this causes problems with the createTables.php script I
think.
I get the error:
ERROR: could not read ini file
a) am i getting this error because of the lack of a database?
b) i have no problem connecting in my PHP file without the database
there. why is that i can connect but createTables hates me?
c) is there a workaround for this or should i just hack it and submit a patch?
thanks in advance.
/jeff
---
Jeff Loiselle
http://jeff.loiselles.com