Re: ORA-12154: TNS:could not resolve service name in XXX

From: Date: Mon, 22 Jan 2001 11:38:25 +0000
Subject: Re: ORA-12154: TNS:could not resolve service name in XXX
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6860@lists.php.net to get a copy of this message
Hi All Oracle is installed on SCO UnixWare Client that I use to connect on Windows 98 env variables ORACLE_HOME, TNS_ADMIN for client is correctly defined by the way I created ODBC source for my ORACLE connection and tested it. Then I tryed to connect using PHP's odbc_connect and have the same problem... Is there any solution? Thanks, Vlad > Make sure your tnsnames.ora file is setup correctly and that your > environment variables are setup correctly. > > What OS are you using on the machine that Oracle is installed on? > > Peter J. Krawetzky > -----Original Message----- > From: Vlad <vlad@zircon.net.ua> > To: php-db@lists.php.net <php-db@lists.php.net> > Date: Thursday, February 22, 2001 3:25 AM > Subject: [PHP-DB] ORA-12154: TNS:could not resolve service name in XXX > > > >Hello All > >I have some problems connecting ORACLe from my php script. > >connection string: > > $conn = OCILogon("asu", "asu", "asu"); > >failed with > > ORA-12154: TNS:could not resolve service name in XXX > > > >Regards, Vlad > >e-mail: zzzvlad@ukr.net > >IСQ: 1042225964 > > > > > > > >-- > >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 > > > > > > > -- > 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 > >

« previous php.db (#6860) next »