JustinW
asked on
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.
Thanks,
-JW
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.
Thanks,
-JW
What is the question?
Thanks
Thanks
ASKER
How do I connect to the database?
As per Navicat website, it will use TNS files, so you dont need ODBC.
TNS is the entry in <ORACLE_HOME>/network/admi n location.
Please read the following link
http://www.navicat.com/en/products/navicat_oracle/oracle_detail_win.html
TNS is the entry in <ORACLE_HOME>/network/admi
Please read the following link
http://www.navicat.com/en/products/navicat_oracle/oracle_detail_win.html
ASKER
Thanks,
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?
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?
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.
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.
ASKER
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
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
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
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
ASKER
I've never installed anything oracle on my computer before,
could I be missing a driver?
could I be missing a driver?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just copied the info from the ORA File into Navicat.
Lit right up!
Thx!
Lit right up!
Thx!
ASKER
and in the ODBC Data Source Administrator,
the Driver is listed as "Oracle in OraClient 11g_home1"