Question : ODBC connect to ORACLE 11G using Redhat Linux 5.4

Hi,

I am trying to setup a ODBC connection from Redhat Linux 5.4 to a ORACLE 11g database.

Copy of odbc.ini

[inidafis]
Driver = OracleODBC-11g
DSN = OracleODBC-11g
ServerName = inidafis
UserID =
Password =

 /etc/odbcinst.ini

[OracleODBC-11g]
Description = Oracle ODBC driver for Oracle 10g
Driver = /home/oracle/app/oracle/product/11.2.0/client_1/lib/libsqora.so.11.1
FileUsage = 1
Driver Logging = 7


If I connect with:

 isql –v OracleODBC-11g username password ...... I get the error message  


[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect

Answer : ODBC connect to ORACLE 11G using Redhat Linux 5.4

"OracleODBC-11g" is a name of driver.
You probably need:
   isql –v inidafis username password
Random Solutions  
 
programming4us programming4us