Re: Error while trying to retrieve text for error ORA-12154
| From: | Stig Bakken | Date: | Tue, 06 Apr 1999 09:10:00 +0000 |
| Subject: | Re: Error while trying to retrieve text for error ORA-12154 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4951@lists.php.net to get a copy of this message | ||
Also, you should not specify the SID in the username, that will make PHP
use the Oracle listener instead, trying to find a data source defined in
listener (which is not necessarily the same as the SID).
- Stig
On Tue, 6 Apr 1999, Thies C. Arntzen wrote:
> make sure that you have setted ORACLE_HOME and ORACLE_SID in your
> environment!!!
> > Yusri Mahadi
> >
> >
> >
> > PutEnv("ORACLE_BASE=/local");
> > PutEnv("ORACLE_HOME=/local/oracle");
> > PutEnv("ORACLE_SID=tioms2nd");
> > PutEnv("ORA_NLS=/local/oracle/ocommon/nls/admin/data");
> >
> > $connTIOMS=Ora_Logon("system@tioms2nd", "password");
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net