16.10.2015 Views

Getting Startedwith pureQuery

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix C – Up and Running with DB2 Express-C 333<br />

Figure C.3 - DB2 Clients<br />

From the above figure, you can see the IBM Data Server Runtime client has all the<br />

components you need (driver and network support) to connect and work with a DB2 Data<br />

Server. The IBM Data Server client has this same support and also includes GUI Tools and<br />

libraries for application development.<br />

In addition to these clients, provided are these other clients and drivers:<br />

• DB2 Runtime Client Merge Modules for Windows: mainly used to embed a DB2<br />

runtime client as part of a Windows application installation<br />

• IBM Data Server Driver for JDBC and SQLJ: allows Java applications to connect to<br />

DB2 servers without having to install a client<br />

• IBM Data Server Driver for ODBC and CLI: allows ODBC and CLI applications to<br />

connect to a DB2 server without having to install a client<br />

• IBM Data Server Driver Package: includes a Windows-specific driver with support<br />

for .NET environments in addition to ODBC, CLI and open source. This driver was<br />

previously known as the IBM Data Server Driver for ODBC, CLI and .NET.<br />

There is no charge to use DB2 clients or drivers.<br />

C.3 Installing DB2<br />

In this section we explain how to install DB2 using the DB2 setup wizard.<br />

C.3.1 Installation on Windows<br />

DB2 installation on Windows is straight-forward and requires the following basic steps:<br />

1. Ensure you are using a local or domain user that is part of the Administrator group<br />

on the server where you are installing DB2.<br />

2. After downloading and unzipping DB2 Express-C for Windows from this link, look<br />

for the file setup.exe, and double-click on it.<br />

3. Follow the self- explanatory instructions from the wizard. Choosing default values<br />

is normally sufficient.<br />

4. The following is performed by default during the installation:<br />

- DB2 is installed in C:\Program Files\IBM\SQLLIB<br />

- The DB2ADMNS and DB2USERS Windows operating system groups are<br />

created.<br />

- The instance DB2 is created under C:\Program Files\IBM\SQLLIB\DB2<br />

- The DB2 Administration Server (DAS) is created

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!