From: Michael Ryan
I'd like to run my PHP code on the same i as it is now, but have the db2_connect point to a different i.
Do I use the database name in relational database directory?
I think WRKRDBDIRE is the key to this. When I copied some of my code from one server to another, I was confused by the data returned until I realized I had specified the server name in a configuration file, and I was pulling data from the wrong server.
** Note: I'm actually using the i5_ connection rather than db2_ but I don't expect that makes much difference. Come to think of it, Mantis is probably using the db2_ functions, and that all behaved the same way.
--
Sean Porterfield
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.