Skip to content

DB2 Database Driver

World Wide Web Server edited this page Jul 4, 2012 · 31 revisions

I've created some IBM DB2 drivers for CodeIgniter, and figured I'd let others who were searching for the same thing have access to them. I've got two different versions, one is a driver for cataloged databases on your local host, and the other is for uncataloged remote database connections. These two versions are almost identical except for the the method they use to connect. There are a few things that are required for these drivers to work successfully.

  1. You must have the ibm_db2 PECL extension installed, otherwise, none of the functions will be recognized.

  2. You must have a DB2 database or client utility installed on your local machine for the ibm_db2 PECL extension to work properly.

When those are up and running, feel free to use the DB2 drivers provided below. If you wish to improve, or make changes please feel free to, just upload the changes back to this page.

Clone this wiki locally