sqlplus <user>@<database>
at which point it asks me to enter user name and password. The <user> I just entered above and its password then work fine.ORA-12154: TNS:could not resolve the connect identifier specified
What I *really* need is to connect from IRB on my Mac. I have oci8 gem installed.sqlplus <user>/<password>@<database>
Im not near my mac, but if you have instant client installed, I have gotten it to work by setting ORACLE_HOME (instant client dir) ,LD_LIBRARY_PATH (oracle home/lib) , and TNS_ADMIN environment vars before running sqlplus or irb for oci8. Drop a tnsnames.ora into a dir in your home folder and set the TNS_ADMIN path to it.
I can help you with specifics next monday when I get home. It probably won't help, but google for "oracle 2 day dba".
--
--
SD Ruby mailing list
sdr...@googlegroups.com
http://groups.google.com/group/sdruby
---
You received this message because you are subscribed to the Google Groups "SD Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdruby+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The question: now how do I connect to it? The only way I’ve gotten to work is from DOS:sqlplus <user>@<database>This comes back:at which point it asks me to enter user name and password. The <user> I just entered above and its password then work fine.ORA-12154: TNS:could not resolve the connect identifier specified