Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-31-2003, 03:11 AM   #1
Registered: Oct 2003
Location: South East UK
Distribution: Fedora Core 16
Posts: 69

Rep: Reputation: 15
Setting Up unixODBC for..... ( Informix )

PS This has also been posted as a reply to the thread "OpenOffice Data Source Informix"


I think I now know the order - although I still can't get a connection to work. I assume that I have to:

1) Use the unixODBC utilities to register the ODBC drivers set up on the system (we use GNOME so did not have the ODBCConfig utility loaded).
1) Set up the driver entries in /etc/odbcinst.ini (manually edited via vi)
2) Set up the DSN's and connection parameters in /etc/odbc.ini (manually edited via vi)

I took the Informix default odbcinst.ini and odbc.ini and pasted them into the equivalent files in /etc. The problem that I did not spot at first here, was that Informix had comment lines beginning with a semi colon. Once that was removed, the Data Sources then appeard in the OO URL link.
I have tried using the unixODBC utilities isql, DataManager and odbctest, but cannot get a connection from any of them. From OpenOffice I get (Via Calc) an error:

No connection could be established for the URL sdbcdbc:Infdrv33.
With an sql error of:
SQL Status: 00000

I did think that the problem may then have been caused by my having turned off the 'rlogin,rexec and rsh' services on my server (for security). But I turned the services back on again today and retried the test with the same results.

Am I going down the right track?

I am used to specifying the protocol and service number (ie TCP port) when making Informix connections - but couldn't see these entries anywhere in the Informix ODBC ini files....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Informix database behind of firewall inaki General 0 05-26-2005 04:29 AM
un-install informix client intianjum AIX 1 11-19-2004 01:44 PM
Informix 9 on RHL9 problems rmhaddad Linux - Software 0 02-03-2004 05:49 PM
Configuring Informix on Linux azazil Linux - General 0 11-24-2001 01:14 PM
PHP and Informix kaiozero General 0 11-12-2001 10:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration