Re: OCCI connect vs. sqlplus

From: Shane <gshanemiller_at_verizon.net>
Date: Fri, 27 Mar 2009 05:56:11 -0700 (PDT)
Message-ID: <a4a9f2d9-0f70-4fd7-963b-8c5cb08e8575_at_e15g2000vbe.googlegroups.com>



On Mar 27, 4:41 am, "Laurenz Albe" <inv..._at_spam.to.invalid> wrote:
> 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- Hide quoted text -
>
> - Show quoted text -

Net trace? please enlighten. Tx. Received on Fri Mar 27 2009 - 07:56:11 CDT

Original text of this message