[horde] Using DB2 as database

Jan Schneider jan at horde.org
Wed Jun 11 14:18:29 PDT 2003


Zitat von Helmut Tessarek <ml at evermeet.cx>:

> Hi Jan,
>
> >If DB2 has an odbc interface, you can use this PEAR::DB driver. But
> there is
> >no native support for DB2.
>
> Thanks for your reply. DB2 has an ODBC interface, but how do I use the
> PEAR::DB driver?
> Actually PHP uses the unified ODBC interface for connecting to DB2, but
> the communication
> beneath consists of nativ DB2 calls. Therefore ODBC is fine.
> What do I have to do to use ODBC with Horde?

Just use 'odbc' for the 'phptype' property in horde's sql configuration and
set any other parameters as expected by the driver.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list