AW: [PHP] ORACLE8i
| From: | Sebastian Stadtlich | Date: | Thu, 19 Oct 2000 17:43:45 +0000 |
| Subject: | AW: [PHP] ORACLE8i | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21218@lists.php.net to get a copy of this message | ||
if you have installed oracle client tools you have set a TNS-NAME
in te tnsnames.ora. you need to tell php to use this.
$conn = OCILogon("scott", "tiger","YOUR-TNS-NAME-HERE");
you can also try to set the global var for that, but it did not work for
me..
Sebastian
> -----Ursprüngliche Nachricht-----
> Von: senthil kumar [mailto:vv_senthil@rediffmail.com]
> Gesendet am: Donnerstag, 19. Oktober 2000 18:55
> An: php-general@lists.php.net
> Betreff: [PHP] ORACLE8i
>
> hello,
> when i run the code i get the following error..
>
>
> Warning: _oci_open_server: ORA-12560: TNS:protocol adapter
> error in C:\Inetpub\wwwroot\connect.php on line 3
>
> Warning: Oracle: Connection Failed: ORA-12560: TNS:protocol
> adapter error in C:\Inetpub\wwwroot\connect.php on line 4
>
> Warning: Oracle: Connection Failed: ORA-12560: TNS:protocol
> adapter error in C:\Inetpub\wwwroot\connect.php on line 5
> Failed :-( Could not connect to database
> Warning: Oracle: Connection Failed: ORA-12560: TNS:protocol
> adapter error in C:\Inetpub\wwwroot\connect.php on line 10
>
> Warning: Supplied argument is not a valid Oracle-Connection
> resource in C:\Inetpub\wwwroot\connect.php on line 11
>
> 1.i am running oracle8i client ,win98 and pws.
> 2.the DLLs are there and loading
>
> what else should i have .
>
> i heard some dll from oracle server should be loaded what is that?
>
> please help me out
> senthil
>
>
>
>
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
> For fabulous shopping deals visit:
> http://www.rediff.co.in/shopping/index.html
>
>
>
>
> --
> PHP
> General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>