Re: Driver ODBC Linux
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ODBC / JDBC / .NET, Server Administration, Networking & sqlhosts Configuration, Platform-Specific Issues, Versions, Editions & End-of-Life
You don't have to install any additional modules on Linux.
But if you do have to configure the database server to accept
connections over TCP. It is rather simpler:
1. Choose a service port number and add it to the /etc/services file,
like:
sqlturbo 1526/tcp
2. Edit the $INFORMIXDIR/etc/sqlhosts file and add there an entry
for network connections like:
mydbserver onsoctcp myhostname sqlturbo
mydbserver is the database server name, will go to INFORMIXSERVER
parameter.
myhostname is the Linux host name.
3. Edit your $INFORMIXDIR/etc/$ONCONFIG file and add to the
DBSERVERALIASES the newly defined server:
DBSERVERALIASES mydbserver
4. Restart the database server. And I hope you'll get a working
connection.
Of course you have to correctly configure your ODBC driver
(specifically informix server name, service port - set it as a numbre,
i.e. 1526, if you'll set it as a service name you'll have to modify
the C:\\WINDOWS\\somewhere\\services file too).
Hope this helps,
Octav
Cyrille de LAMBERT wrote:
>
> I will like to configure a driver ODBC on Windows NT for acceder at a base
> Informix IDS 7.30.UC7 installed on a Linux server with core 2.2.5. I found a
> driver for Windows NT on the Informix site but that does not function. I
> think that it must y have a module to install on the Linux station but I do
> not know or to find it and the name of this module.
> Could somebody explain me the demarche to be carried out?
> Thank you
>
> Cyrille
>
> J'aimerai configurer un driver ODBC sur Windows NT pour acceder ' une base
> Informix IDS 7.30.UC7 install' sur un serveur Linux avec noyau 2.2.5. J'ai
> trouv' un driver pour Windows NT sur le site Informix mais 'a ne fonctionne
> pas. Je pense qu'il dois y avoir un module ' installer sur le poste Linux
> mais je ne sais pas ou le trouver et le nom de ce module.
> Quelqu'un pourrait-il m'expliquer la demarche ' effectuer ?
> Merci
--
Octav Chiriac Phone: (373) 2 22 99 67
NetInfo S.R.L. Fax: (373) 2 21 36 59
Chisinau (373) 2 22 84 88
Moldova, Republic of mailto:com@netinfo-moldova.com