Re: can't connect to ORACLE
| From: | Andy Hoffman | Date: | Thu, 12 Oct 2000 13:38:27 +0000 |
| Subject: | Re: can't connect to ORACLE | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3197@lists.php.net to get a copy of this message | ||
Awiyanto Ajisasongko wrote:
> Warning: Oracle: Connection Failed: ORA-12154: TNS:could not resolve service
> name in e:\homepage\htdocs\nidmartis\index.phtml on line 13
>
> when I tried to call ora_logon() function.
>
> I've tried to connect using SQL*Plus and All work well, but why I got the
> message above, I need your help...
Something is *not quite* set correctly in several possible places... what web
server are you running? What version of php (4.0.2?)? Answers to these
questions will help direct the possible solutions.
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com