|
On Tue, Nov 10, 2015 at 10:51 AM Buck Calabro wrote:
On 10-Nov-2015 08:01 -0600, Justin Dearing wrote:
<<SNIP>> In PHP I used db2_connect() to talk to the windows
local db2 instance from windows with a connection string
"DATABASE=sample;HOSTNAME=localhost;UID=zippy;PWD=****".
It worked. <<SNIP>>
There isn't one, single DB2. There are three of them:
DB2 for z (mainframe)
DB2 for LUW (Linux, Unix, Windows)
DB2 for i (that's us!)
Each one needs a different ODBC driver. The ODBC driver for DB2 for
i comes with IBM Access for Windows, and there's an equivalent in
the Access Client Solutions package as well. <<SNIP>>
Ok, but PHP is abstracting this away. There is one ibm_db2 driver
with one db2_connect call for all the DB2 flavors and apache derby.
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.