Re: Connecting to oracle using ocilogon()....
| From: | Rasmus Lerdorf | Date: | Fri, 23 Jun 2000 09:35:34 +0000 |
| Subject: | Re: Connecting to oracle using ocilogon().... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2763@lists.php.net to get a copy of this message | ||
> I was successfuly in compilimg php 4 with oci8 support but when i try to
> connect to oracle database using ocilogon() I get this error message:
>
> Warning: _oci_open_server: Error while trying to retrieve text for error
> ORA-12546 in
> /usr/local/apache/htdocs/ora.php4 on line 3
>
> Can you tell me why it can be happening?
You probably don't have the correct db identifier. Triplecheck your
tnsnames.ora file and if you have $ORACLE_HOME/network/admin/sqlnet.ora
file, get rid of it. Or at least rename it.
-Rasmus