IBM Informix 各种连接方式

src:https://www.connectionstrings.com/informix/

IBM Informix .NET Provider

Standard

Database=myDataBase;Host=192.168.10.10;Server=db_engine_tcp;Service=1492;
Protocol=onsoctcp;UID=myUsername;Password=myPassword;

IBM Informix OLE DB Provider

Standard

Provider=Ifxoledbc;Data Source=dbName@serverName;User ID=myUsername;
Password=myPassword;

Persisting security info in the connection string

Provider=Ifxoledbc;Data Source=dbName@serverName;User ID=myUsername;
Password=myPassword;Persist Security Info=true;

.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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值