Re: Function OCILogon().
| From: | B. PERRINE | Date: | Fri, 21 Dec 2001 13:27:35 +0000 |
| Subject: | Re: Function OCILogon(). | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15176@lists.php.net to get a copy of this message | ||
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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net