talexb has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to find out which environment variables are required for a DB2 connection through DBI. The only one I'm using now is DB2INSTANCE.
I was setting INSTHOME (incorrectly, as it turned out) and DB2_HOME, but I commented those out and things still worked properly. I don't have DB2_PATH or SQLLIB set either, as per this node, and I'm not getting the scary sounding Total Environment Failure that I was getting earlier (sounds like an emergency on the International Space Station).
I have searched and searched through the IBM DB2 site without much success. Thanks!
Update: Earlier this afternoon I got verification from waveform on #db2 that DB2INSTANCE is all that's required for PHP, so if the drivers are at all similar, it makes sense that only DB2INSTANCE is required for Perl as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OT: Setting up environment for DB2 on Solaris
by dHarry (Abbot) on Nov 04, 2008 at 09:43 UTC | |
by talexb (Chancellor) on Nov 04, 2008 at 16:42 UTC | |
|
Re: OT: Setting up environment for DB2 on Solaris
by andreas1234567 (Vicar) on Nov 04, 2008 at 09:59 UTC | |
by talexb (Chancellor) on Nov 04, 2008 at 16:48 UTC | |
by andreas1234567 (Vicar) on Nov 06, 2008 at 15:14 UTC |