Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: problem with ora_logon, Oracle8i, PHP4. HELP ME please!!!
On 18 Apr 2002 13:09:25 -0700, 12345_at_meloo.com (iubito) wrote:
>Hi everybody!
>
>I've a big problem with ora_logon("user_at_10.10.100.100",$password).
>The error is about TNS names, ORA-12154.
>Oracle works properly (sql*plus...), and I manage to connect a
>database but with PHP it doesn't work.
>I've try a lot of things, modify
>$ORACLE_HOME/network/admin/tnsnames.ora, environment vars for all
>users of the Linux box... Nothing :(
>
>Have you an idea to help me?
>
>Thanks,
>
>Sylvain
10.10.100.100 isn't a valid servicename at all. Specify a servicename in your code which occurs in your tnsnames.ora. This is exactly what the error was saying, and evidently you didn't look it up or tried to understand the error explanations.
Regards
Sybrand Bakker, Senior Oracle DBA
To reply remove -verwijderdit from my e-mail address Received on Thu Apr 18 2002 - 16:25:15 CDT
![]() |
![]() |