OCCI connect vs. sqlplus

From: Shane <gshanemiller_at_verizon.net>
Date: Thu, 26 Mar 2009 22:51:39 -0700 (PDT)
Message-ID: <0d8fd172-d661-483a-aeba-b2357750614f_at_b16g2000yqb.googlegroups.com>

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);


   ORA-01017: invalid username/password; logon denied

what stupid thing am I missing? Received on Fri Mar 27 2009 - 00:51:39 CDT

Original text of this message