Migrating to OS X [message #495484] |
Sat, 19 February 2011 22:16 |
|
therevisnotdead
Messages: 5 Registered: February 2011 Location: Canada
|
Junior Member |
|
|
I apologize if this question is out of context/in the wrong forum, etc...
I am a student using Navicat Lite in Windows to manage databases. However, I use a Mac for pretty much every other task. So, I installed Navicat Lite for Mac but am having trouble getting it up and running. I imported my connections from Windows, but when I try to connect I get a "Connection Failed" error message.
I think this has something to do with the TNS listener... but I really don't know what I'm doing as I'm very new to this.
Should I have something in the TNS_ADMIN field under preferences?
Any help/explanation would be greatly appreciated!
|
|
|
|
Re: Migrating to OS X [message #495488 is a reply to message #495484] |
Sat, 19 February 2011 22:58 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
Yes, if you want to use one.
Hope you do have a valid client install.
For simplicity, I just use Oracle instant client and use same values for
ORACLE_HOME,DYLD_LIBRARY_PATH and TNS_ADMIN.
There should be a tnsnames.ora file in the TNS_ADMIN path that has valid entries to databases.
Else
just use the "basic" connection and fill all entries manually.
PS:
I use highly customized environment with symlinks to all other tools from my custom ORACLE_HOME.
You can just use the "bundled instant client" and point it to TNS_ADMIN which has tnsnames.ora
[Updated on: Sat, 19 February 2011 23:13] Report message to a moderator
|
|
|
|
Re: Migrating to OS X [message #495493 is a reply to message #495492] |
Sat, 19 February 2011 23:26 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
I updated my last post instead of replying again.
Quote:
I use highly customized environment with symlinks to all other tools from my custom ORACLE_HOME.
You can just use the "bundled instant client" and point it to TNS_ADMIN which has tnsnames.ora
In other words, use your own values.
>>I can run any queries yet because I have no databases to run them on
Oracle is not like mysql.
First you need a database. Locally or remote.
Then configure your tnsnames.ora file identified by TNS_ADMIN
or
just use basic values (supply host,oracle sid, port,username/password).
[Updated on: Sat, 19 February 2011 23:27] Report message to a moderator
|
|
|
|
|
|
|
|