Hi,
I am using PEAR DB for connecting to MySQL.
Now I want to switch to Oracle 8i Release 3 (8.1.7) for Windows NT.
Currently I have DSN as
$dsn = "mysql://root:root@localhost/cas";
I saw the syntax for Oracle in PEAR DB Docs which says
$dsn = "oci8://username(colon)password@protocol+hostspec/database"
I have used (colon) instead of : or else a smiley code shows up.
Can someone please tell me what to put in place of protocol and hostspec and also database ?
Thanks a lot.
Let me also tell you some more details.
I have Oracle Database and Oracle Client installed in my computer.
Username = system
Password = manager
I am not sure what it means my database in the syntax of PEAR DB. Is it tablespace or schema or anything else ?
Schema is SYSTEM.
Tablespace is TOOLS.
Thanks for your time guys.
Long Live PHP Builder. 😃