Page 1 of 1

Connect to DB2

Posted: Tue 26 Jun 2012 09:03
by ruewue
Hello together,

I am new here and I will start with a simple question for. How make I a connection to DB2 database with uniDAC? I can connect to MSSQL and MySQL very easy but I don't get any connection to DB2.

Can somebody explain how I have to make this connection?

Thanks in advance
Ruediger

Re: Connect to DB2

Posted: Tue 26 Jun 2012 11:58
by AlexP
hello,

To connect to a DB2 database, you should have the installed DB2 ODBC driver. You can use two connection ways:
1) using ODBCUniProvider - specifying in the UniConnection.Server property the set DNS alias
2) using DB2UniProvider - all settings are made in UniConnection