Informix connection strings

IBM Informix .NET Provider

  • Standard

    Database=myDataBase;Host=192.168.10.10;Server=db_engine_tcp;Service=1492;
    Protocol
    =onsoctcp;UID=myUsername;Password=myPassword;
Problems connecting?
Get answer in the Informix Q & A forum

IBM Informix OLE DB Provider

.NET Framework Data Provider for OLE DB

  • Use an OLE DB provider from .NET

    Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

    See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.

IBM Informix ODBC Driver

  • Informix 3.30

    Dsn='';Driver={INFORMIX 3.30 32 BIT};Host=hostname;Server=myServerAddress;
    Service
    =service-name;Protocol=olsoctcp;Database=myDataBase;Uid=myUsername;
    Pwd
    =myPassword;

Informix-CLI 2.5

  • Informix-CLI 2.5:

    Driver={Informix-CLI 2.5 (32 Bit)};Server=myServerAddress;Database=myDataBase;
    Uid
    =myUsername;Pwd=myPassword;

.NET Framework Data Provider for ODBC

  • Use an ODBC driver from .NET

    Driver={any odbc driver's name};OdbcKey1=someValue;OdbcKey2=someValue;

    See the respective ODBC driver's connection strings options. The .net OdbcConnection will just pass on the connection string to the specified ODBC driver. Read more here.

Luxena dbExpress driver for Informix Pro

  • Standard

    The connection string is provided through the "HostName" parameter that exists in TSQLConnection.Params collection.

    InformixServer=myServerAddress;Client_Locale=en_us.8859-1;Fet_Buf_Size=32767;
    OptOFC
    =1;AutoCommit=True;BlobSize=-1;WaitOnLocks=False;CommitRetain=False;
    IsolationLevel
    =ReadCommitted;Trim Char=False;money=currency;decimal=bcd;
    int8
    =fmtbcd;lvarchar=string;

    Standard dbExpress configuration parameters have higher priority against connection string parameters.

Q&Aask question »

Articlesread all »

Connect

Articlesread all »

Didn't find your connection string?

Start over from the connection string reference index - or try a search!

In the Q&A forums you can ask your own question and let somebody help you.

The knowledge articles contains solutions and guides.