Hello,

I have two Oracle instances running on a Mandrake 8.1 box.
SIDs are PM and QA.

All the Oracle environment variables are set on Apache startup. And
$ORACLE_SID=pm is set to.

So connecting via ocilogon($user, $pass, '') to the db with SID=pm without
specifying a service it works.
As soon as I specify a service ocilogon ($user, $pass, 'pm') I get
"ORA-12535: TNS:operation timed out".

It works if I connect via sqlplus like this:
sqlplus user/pass@pm.

So I am wondering what the difference is on how sqlplus and PHP's OCI
connect or which Settings (ENV Vars) control this.

Florian

http://fc.clever-soft.com


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to