Connect to DB2

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ruewue
Posts: 1
Joined: Tue 26 Jun 2012 08:54

Connect to DB2

Post by ruewue » Tue 26 Jun 2012 09:03

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Connect to DB2

Post by AlexP » Tue 26 Jun 2012 11:58

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

Post Reply