Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> ORA-12222 in my PHP and Perl scripts

ORA-12222 in my PHP and Perl scripts

From: Miguel L. Flores <mflores_at_netcom.utah.edu>
Date: Mon, 4 Jun 2001 16:23:19 -0600
Message-ID: <9fh1oq$83i$1@coward.ks.cc.utah.edu>

Hello group,

Forgive me if this is a bit off topic, but I've come across a problem that has me at the end of my rope. While experimenting with some PHP and Perl (DBI to the remote database) scripts I've hit the same error in each one:

ORA-12222: TNS:no such protocol adapter in C:\Program Files\Apache Group\Apache\htdocs/OracleTest.php on line 13

The database is Oracle 8.0.5, and my client is the same version (running Windows 2000). I've verified that the TCP Protocol adapter is installed, and also that my tnsnames.ora file contains the correct server name and doesn't contain any funky carriage returns or line feeds. I can connect without trouble through SQL*Plus.

Any ideas as to why this protocol adapter isn't being recognized?

Please email me if you've had this problem or if you have an idea on how to fix it. Thanks.

Miguel Flores
Software Developer
mflores(at)netcom(dot)utah(dot)edu Received on Mon Jun 04 2001 - 17:23:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US