Date: 11/30/99
- Next message: Mario Bittencourt: "[PHP3] Accessing ARGC, ARGV / Content-type: application/pdf"
- Previous message: Rosenet Technical Support: "Re: [PHP3] Hit Counter.."
- In reply to: Jocimar Butzlaff: "[PHP3] Odbc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 30 Nov 1999, Jocimar Butzlaff wrote:
> Am I needing the driver ODBC for linux, to use
> database IBM DB2 in another platform, can anybody
> help me?
What is this "another platform" ? Is it another Unix/NT DB2
UDB environment? or are you in trouble with an AS/400 machine?
To access an Unix/NT DB2 UDB use the DB2 UDB 6.1 for Linux, instal the CLI
on the Linux machine, compile PHP using --with-ibmdb2 and use this
commands to catalog the other databases on your client:
$db2 catalog tcpip node db2udb remote db2machine server db2tcp1
$db2 catalog database db2sample as mysample at node db2udb
where: db2udb -> alias for the db2 server on you client
db2machine -> db2 server name (db2-server.unesc.br)
db2tcp1 -> db2 udb service port insert it on /etc/services
db2sample -> database name on server
mysample -> database alias on client
then try something like this:
$db2 connect to mysample user db2inst1
and you are in :) (via PHP use the ODBC functions)
but if you are trying AS/400, than I'm trying with an V4R4 without
success! They appear to had only windows support :(
Antonio.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist | "Only The Shadow Knows |
| WorldNet Internet Maringa - PR - Brasil | what evil lurks in the |
| E-Mail: shadow <email protected> | Heart of Men!" |
| shadow <email protected> | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
This e-mail message is 100% Microsoft free!
/"\
\ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Mario Bittencourt: "[PHP3] Accessing ARGC, ARGV / Content-type: application/pdf"
- Previous message: Rosenet Technical Support: "Re: [PHP3] Hit Counter.."
- In reply to: Jocimar Butzlaff: "[PHP3] Odbc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

