How to make a ODBC connection to Informix database.

Ask a Question related to Informix, Design and Development.

  1. #1

    Default Re: How to make a ODBC connection to Informix database.

    Hello,

    First you must have Informix SDK or Informix Connect installed on your PC.
    Second, you must get informations from your DBA
    Is your server a Windows Server or a Unix (or Linux) Server ?

    Server = The name of your Informix instance (Value of the INFORMIXSERVER
    environment variable on the server)
    Host = Name ot IP address of your server (Unix or Windows server)
    Protocol = olsoctcp
    Service = service name or TCP/IP port number to access to Informix Server

    If you have a Unix Server, you can find :
    SERVER => in the file $INFORMIXDIR/etc/$ONCONFIG, SERVERNAME or
    SERVERALIASES parameter, or in the file $INFORMIXDIR/etc/sqlhosts (first
    column) .
    PROTOCOL => in the file $INFORMIXDIR/etc/sqlhosts (second column)
    HOST => in the file $INFORMIXDIR/etc/sqlhosts (third column) or in the file
    /etc/hosts (if static IP address)
    SERVICE => in the file $INFORMIXDIR/etc/sqlhosts (fourth column). If it's a
    service name, you can get port number in the file /etc/services.
    Hope this will help you.

    Regards
    AR

    These informations can be found on

    "Sanjay" <vermasanjay@yahoo.com> a écrit dans le message de
    news:487f6ccc.0306251146.21460054@posting.google.c om...
    > Hi Friends,
    >
    > I am new to informix and so want to know how should I make connection
    > to my Informix server. There are cetain parameters while making the
    > connection and I dont know what to enter in that. For eg. : Server ,
    > Host, Service, Protocol. I know the Database name and the user and
    > passwd. My company's Network admin. is on vacation for the next 20
    > days and I need a connection urgently.
    >
    > Can someone help me in this,
    >
    > Thanking you in advance,
    >
    > Sanjay

    ar Guest

  2. Similar Questions and Discussions

    1. No read permission on access database odbc connection
      I've developed a number of coldfusion pages on my local machine and had a number of problems with the dreaded error: Record(s) cannot be read; no...
    2. Error in ODBC connection to Pick D3 database in CF 7.0.1
      I've updated CF 5.0 over Windows 2000 to CF 7.0.1 and queries over Pick D3 ODBC conection give an "ColdFusion MX 7 ODBC Server" error: "ColdFusion...
    3. How do I make an ODBC Connection to an offsite server?
      We are talking about CF Server 5.0. CF5.0 Server 1 is based at one location on a WIN2K box. Data is written to a MS SQL2000 server on this same...
    4. ODBC Connection to Informix 7.2SE on SCO 5.0
      I have a client that is migrating to MSSQL from Informix. I downloaded the client SDK from IBM's website but have not been able to connect to the...
    5. VB & Odbc link to Informix Database
      I'm a bit of a newbie to ODBC, but I was wondering if anyone could tell me what the following things mean which are on the driver tab of the ODBC...
  3. #2

    Default Re: How to make a ODBC connection to Informix database.

    Hi

    If you do not have Informix Connect or would rather not install that
    software, there is also the alternative of installing a client/server
    that doesn't need any Informix software other than the database
    installed. This can be got from [url]www.openlinksw.com[/url]

    BR
    Emmon Simbo
    "ar" <bidon@email.com> wrote in message news:<bdeugc$uhc$1@news-reader4.wanadoo.fr>...
    > Hello,
    >
    > First you must have Informix SDK or Informix Connect installed on your PC.
    > Second, you must get informations from your DBA
    > Is your server a Windows Server or a Unix (or Linux) Server ?
    >
    > Server = The name of your Informix instance (Value of the INFORMIXSERVER
    > environment variable on the server)
    > Host = Name ot IP address of your server (Unix or Windows server)
    > Protocol = olsoctcp
    > Service = service name or TCP/IP port number to access to Informix Server
    >
    > If you have a Unix Server, you can find :
    > SERVER => in the file $INFORMIXDIR/etc/$ONCONFIG, SERVERNAME or
    > SERVERALIASES parameter, or in the file $INFORMIXDIR/etc/sqlhosts (first
    > column) .
    > PROTOCOL => in the file $INFORMIXDIR/etc/sqlhosts (second column)
    > HOST => in the file $INFORMIXDIR/etc/sqlhosts (third column) or in the file
    > /etc/hosts (if static IP address)
    > SERVICE => in the file $INFORMIXDIR/etc/sqlhosts (fourth column). If it's a
    > service name, you can get port number in the file /etc/services.
    > Hope this will help you.
    >
    > Regards
    > AR
    >
    > These informations can be found on
    >
    > "Sanjay" <vermasanjay@yahoo.com> a écrit dans le message de
    > news:487f6ccc.0306251146.21460054@posting.google.c om...
    > > Hi Friends,
    > >
    > > I am new to informix and so want to know how should I make connection
    > > to my Informix server. There are cetain parameters while making the
    > > connection and I dont know what to enter in that. For eg. : Server ,
    > > Host, Service, Protocol. I know the Database name and the user and
    > > passwd. My company's Network admin. is on vacation for the next 20
    > > days and I need a connection urgently.
    > >
    > > Can someone help me in this,
    > >
    > > Thanking you in advance,
    > >
    > > Sanjay
    Emmon Simbo Guest

  4. #3

    Default Re: How to make a ODBC connection to Informix database.

    Hi everybody,

    I have Avaya system in my company, and I have task to get the cost of call and know all called numbers in and out from call center.
    All I know about the database --> it is informix DB and it is located on UNIX server .
    And I found your replay --->
    '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''
    If you have a Unix Server, you can find :
    > SERVER => in the file $INFORMIXDIR/etc/$ONCONFIG, SERVERNAME or
    > SERVERALIASES parameter, or in the file $INFORMIXDIR/etc/sqlhosts (first
    > column) .
    > PROTOCOL => in the file $INFORMIXDIR/etc/sqlhosts (second column)
    > HOST => in the file $INFORMIXDIR/etc/sqlhosts (third column) or in the file
    > /etc/hosts (if static IP address)
    > SERVICE => in the file $INFORMIXDIR/etc/sqlhosts (fourth column). If it's a
    > service name, you can get port number in the file /etc/services.
    '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''

    My question is how to access this file , I don't have experience with unix ?

    Thanks all.
    Hagar Yousef Guest

  5. #4

    Default Re: How to make a ODBC connection to Informix database.

    Hi everybody,

    I have Avaya system in my company, and I have task to get the cost of call and know all called numbers in and out from call center.
    All I know about the database --> it is informix DB and it is located on UNIX server .
    And I found your replay --->
    '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''
    If you have a Unix Server, you can find :
    > SERVER => in the file $INFORMIXDIR/etc/$ONCONFIG, SERVERNAME or
    > SERVERALIASES parameter, or in the file $INFORMIXDIR/etc/sqlhosts (first
    > column) .
    > PROTOCOL => in the file $INFORMIXDIR/etc/sqlhosts (second column)
    > HOST => in the file $INFORMIXDIR/etc/sqlhosts (third column) or in the file
    > /etc/hosts (if static IP address)
    > SERVICE => in the file $INFORMIXDIR/etc/sqlhosts (fourth column). If it's a
    > service name, you can get port number in the file /etc/services.
    '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''

    My question is how to access this file , I don't have experience with unix ?

    Thanks all.
    hager_yousef is offline Junior Member
    Join Date
    Apr 2011
    Posts
    2

  6. #5

    Default Re: How to make a ODBC connection to Informix database.

    Hi everybody,

    I have Avaya system in my company, and I have task to get the cost of call and know all called numbers in and out from call center.
    All I know about the database --> it is informix DB and it is located on UNIX server .
    And I found your replay --->
    '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''
    If you have a Unix Server, you can find :
    > SERVER => in the file $INFORMIXDIR/etc/$ONCONFIG, SERVERNAME or
    > SERVERALIASES parameter, or in the file $INFORMIXDIR/etc/sqlhosts (first
    > column) .
    > PROTOCOL => in the file $INFORMIXDIR/etc/sqlhosts (second column)
    > HOST => in the file $INFORMIXDIR/etc/sqlhosts (third column) or in the file
    > /etc/hosts (if static IP address)
    > SERVICE => in the file $INFORMIXDIR/etc/sqlhosts (fourth column). If it's a
    > service name, you can get port number in the file /etc/services.
    '''''''''''''''''''''''''''''''''''''''''''''''''' ''''''''''''''''''''''''''''

    My question is how to access this file , I don't have experience with unix ?

    Thanks all.
    hager_yousef is offline Junior Member
    Join Date
    Apr 2011
    Posts
    2

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139