RE: [PHP-DB] error ORA-12699

2001-06-29 Thread Anthony Carlos
to resolve it into a protocol, address, and sid. In other words, ORCL is shorthand notation for all of the TCP/IP info and then some. I hope this makes sense, Anthony -Original Message- From: sang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 9:32 AM To: [EMAIL PROTECTED] Subject: Re

Re: [PHP-DB] error ORA-12699

2001-06-28 Thread Wayne Bastow
Try using $connect_string="ORCL"; Wayne sang wrote: > > I have read some doc. > $connect_string is set to equal from tnsnames.ora. > > $connect_string="(DESCRIPTION=(ADDRESS = (PROTOCOL = TCP)(HOST = > 192.168.1.1)(PORT = 1521))(CONNECT_DATA = (SID = ORCL)))"; > > I can connect my local o

Re: [PHP-DB] error ORA-12699

2001-06-27 Thread sang
I have read some doc. $connect_string is set to equal from tnsnames.ora. $connect_string="(DESCRIPTION=(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521))(CONNECT_DATA = (SID = ORCL)))"; I can connect my local oracle server before when using OCILogon("system","manager"); But now ,

Re: [PHP-DB] error ORA-12699

2001-06-27 Thread Anthony Carlos
Sang, Since you're trying to connect from another computer to the Oracle server, you probably need to specify a connect string in the OCILogon command. OCILogon('system', 'manager', "$connect_string"); What's the value for $connect_string? It depends on how you've set-up your Oracle networking.