Re: OCCI connect vs. sqlplus

From: Laurenz Albe <invite_at_spam.to.invalid>
Date: Fri, 27 Mar 2009 09:41:46 +0100
Message-ID: <1238143328.256779_at_proxy.dienste.wien.at>



Shane wrote:
> This works great:
>
> $ sqlplus smiller/mill_at_oradev
>
> But connecting to the same db from the same box with this OCCI C++:
>
> std::string user("smiller");
> std::string pswd("mill");
> std::string db("oradev");
> Environment *env = Environment::createEnvironment();
> Connection *conn = env->createConnection(user,pswd,db);
>
> gives
>
> ORA-01017: invalid username/password; logon denied
>
> what stupid thing am I missing?

I don't know, it works here.

Maybe an Oracle Net Trace can tell more...

Yours,
Laurenz Albe Received on Fri Mar 27 2009 - 03:41:46 CDT

Original text of this message