DB2

From HTML5 Builder
Jump to: navigation, search

DB2 is a relational database management system developed by IBM.

There are different technologies you can use to access DB2 from web applications developed with HTML5 Builder:

Installation

Client

  1. Download the DB2 Lite client from here.
  2. Extract the archive with the client.
  3. Copy all .dll files into your Windows\System32 directory.

PHP PDO Extension

  1. Download the extension's source code from here, and build it.
  2. Place the built php_pdo_ibm.dll file into PHP’s extensions directory.
    • For HTML5 Builder’s internal server, the directory is located at php\ext, inside the installation directory.
  3. Enable the extension by adding the following line to PHP’s configuration file (php.ini):
    extension=php_pdo_ibm.dll

PHP Extension

  1. Download the extension from here.
  2. Extract the php_ibm_db2.dll file into PHP’s extensions directory.
    • For HTML5 Builder’s internal server, the directory is located at php\ext, inside the installation directory.
  3. Enable the PHP extension by adding the following line to PHP’s configuration file (php.ini):
    extension=php_ibm_db2.dll

Configuration

Tip: You can use the Data Explorer to configure your DB2 connections the RAD way.

To use a Database component with DB2, configure it with the following property values:

  • DriverName: ibm.

Then fill the rest of the mandatory properties as required.

Help Resources

Documentation

See Also

Personal tools