Cannot Login to Oracle DB
| From: | Nol Shala | Date: | Thu, 23 Nov 2000 18:30:48 +0000 |
| Subject: | Cannot Login to Oracle DB | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4083@lists.php.net to get a copy of this message | ||
Hi all
System: NT 4.0 (SP5), Apache 1.3.12, PHP 4.0.3
Well I'm trying make a connection to the oracle-db in Internet (oracle
8.0.5).
Localy I have installed Oracale Client 8, Oracle Enterprise Manager.
With NetEasyAssisten I make a connection to oracle-db. The "tnsnames.ora"
excists and has all entries.
Using this function: int OCILogon (string username, string password [,
string db])
ORACLE_HOME="path-to-my-oracle-home"
ORACLE_SID="sid"
Result:
Warning: _oci_open_server: ORA-12154: TNS:Der Servicename konnte nicht
aufgelöst werden. in d:\programme\apache\htdocs\php\oracle\connect.php on
line 3
Can someone give me some hints.
Thank you.
Nol