Connecting to Oracle with ODBC info

Not sure if this is possible or not,
but I'm trying to connect to an Oracle Database
using 3rd party software (Navicat).

I've been given instructions on how to get access to the
database through Access using an OBDC connection, but
would rather use Navicat to perform queries. I've tested the connection
in the ODBC manager, and it appears to work.

Who is Participating?
Devinder Singh VirdiConnect With a Mentor Lead Oracle DBA TeamCommented:
You can search for TNSNAMES.ORA file under c:\oracle...\network\admin directory

Add the following (Change YourMachineName and TypeDatabaseName accordingly)

      (ADDRESS = (PROTOCOL = TCP)(HOST = YourMachineName)(PORT = 1512))
     (SERVICE_NAME = TypeDatabaseName)
JustinWAuthor Commented:
and in the ODBC Data Source Administrator,
the Driver is listed as "Oracle in OraClient 11g_home1"
Devinder Singh VirdiLead Oracle DBA TeamCommented:
What is the question?

The new generation of project management tools

With’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

JustinWAuthor Commented:
How do I connect to the database?
Devinder Singh VirdiLead Oracle DBA TeamCommented:
As per Navicat website, it will use TNS files, so you dont need ODBC.
TNS is the entry in  <ORACLE_HOME>/network/admin location.

Please read the following link

JustinWAuthor Commented:

The Default Settings for Navicat's ORACLE - NEW CONNECTION are:

Connection Name: BLANK
Connection Type: Basic
Host Name/IP Address: BLANK
Port: 1521
Service Name/SID: ORCL
User Name: BLANK
Password: BLANK

Other than the Username and Password (which I have), What do I need to put in the blanks?
Is the rest of this configuration correct for what I want?
Devinder Singh VirdiLead Oracle DBA TeamCommented:
You can type anything in connection name,
However you can select TNS in Connection Type.
Then provide SCOTT as username and TIGER as password OR you can test with other users as well.
In host name you can enter your computer name or assign your computer some IP address and use that one.
JustinWAuthor Commented:
When I change the connection type From BASIC to TNS,
the form changes; giving me these options to complete:

Net Service Name: BLANK (dropdown)
User Name: BLANK
Password: BLANK

The Net Service Name Field doesn't have any prepopulated options
to chose from.

If I type in the DataBase I want to connect to (CPSPROD),
and click Test Connection, it throws
ORA-12154: TNS:could not resolve the connect identifier specified

Open in new window

The Oracle ODBC Driver Configuration form,
There's a Dropdown called **TNS Service Name**
that is prepopulated, and has the Database I want to connect to (CPSPROD).

When I test the connection on that; it says that the test was successful

JustinWAuthor Commented:
I've never installed anything oracle on my computer before,
could I be missing a driver?

JustinWAuthor Commented:
Just copied the info from the ORA File into Navicat.
Lit right up!
All Courses

From novice to tech pro — start learning today.