linux - How can I use PHP to connect to ODBC to DB2 on Windows 2003? -


my old server:
- windows 2003 server
- ibm db2 udb version 8.1
- odbc: user dsn:

my odbc connection


there .net webapps connect mydb using odbc, now.

but windows 2003 end of support microsoft on month. so, want move it.

the problem: don't know .net @ all. current .net webapps closed source , cannot contact provider company (it defunct).

i want tables db2 php (running in ubuntu 14.04 desktop). use pdo odbc connect. seems on skills. desktop on same subnet lan windows 2003 server (ping , ok), telnet server2003 ip port 5000 ok.

i stuck after install odbc, config in desktop... nothing works.

who helps me? every appreciated. there no words show appreciation!

in addition configuring , troubleshooting php access db2 via pdo odbc, need migrate db2 8.1 server , clients, if any, newer db2 release level (ibm ended support db2 udb 8.1 in may 2009). fortunately, ibm offers no-cost version of db2 called express-c, authorized production use. current release, db2 express-c 10.5 fix pack 5, can accommodate databases 15 terabytes in size.

if turns out company has active db2 license available application, forget express-c , install whatever db2 server edition covered license.

to move data out of db2 udb 8.1, you'll need export contents of each table separate file , import them new database. db2move utility can assist process iterating through tables in database, saving typing export statements yourself.

once db2 data migrated new database, can install db2 client on linux php server , test connectivity. keep file size down, ibm offers variety of db2 client downloads, can add confusion 1 need. odbc , php applications, should download ibm data server driver package or, safe, larger ibm data server client contains drivers , client libraries. sure client download same version , fix pack level db2 server (e.g. 10.5 fix pack 5).

ibm's online documentation , php manual have bit of information connecting php applications db2.


Comments

Popular posts from this blog

round image using picasso in android -

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

python - How to remove the Xframe Options header in django? -