Re: Problems with Oracle connections
| From: | houston | Date: | Thu, 29 Mar 2001 14:36:35 +0000 |
| Subject: | Re: Problems with Oracle connections | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7982@lists.php.net to get a copy of this message | ||
Have you tried supplying the optional third parameter to ociplogon() to
specify the connection?
ociplogon( "username","password","tns_alias");
--Houston
""bgadelha"" <bgadelha@bol.com.br> wrote in message
Hi,
I'm having troubles using PHP+Oracle.
I´m under Win98, with Apache WebServer, PHP4 and Oracle.
When I try to connect, the following error message is
displayed:
Warning: Unable to connect to ORACLE (ORA-12154:
TNS:could not resolve service name) in
c:\apache\htdocs\testeoracle.php on line 24
falhou outra vez:ORA-12154: TNS:could not resolve
service ...