Look at php manual on www.php.net, part OCI8, about env. variables for
ORACLE.

ORA-12545 is typical of a NET8 error.

B.

le jeu 20-12-2001 à 12:09, Somsak RAKTHAI a écrit :
> Dear all,
>   I used PHP 4.1.0 and Oracle 9i running on RedHat-7.2.
>   I have question about Oracle function OCILogon().
>   I have problem about my source below.
> 
>       <?php
>        $db = "";
>        $c1 = ocilogon("scott","tiger",$db);
>        $c2 = ocilogon("scott","tiger",$db);
>       ?>
> 
>    When run this source on browser, it has messages below.
> 
> Warning: _oci_open_server: Error while trying to retrieve text for error
> ORA-12545 in /usr/local/apache/htdocs/registra/oracle2mysql/a.php on line
> 3
> 
> Warning: _oci_open_server: Error while trying to retrieve text for error
> ORA-12545 in /usr/local/apache/htdocs/registra/oracle2mysql/a.php on line
> 4
> 
>   Please let me know how to solve this problem.
> 
>             thank you very much.
>                 regards,
>                 Somsak.
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to