RE: [PHP-DB] newbie: how to connect to a remote DB
| From: | Jean-Christian Imbeault | Date: | Fri, 12 Oct 2001 02:38:30 +0000 |
| Subject: | RE: [PHP-DB] newbie: how to connect to a remote DB | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13279@lists.php.net to get a copy of this message | ||
Thanks for the link!
But it seems that I need to install some separate IBM software on my Linux before in order to connect to a remote AS/400 DB2 database.
Silly question, but is there no way to connect directly to the DB from PHP without using external sofwtare? (I'm always weary of installing third-party software, and the more parts to a system the harder the debugging!)
Thanks!
Jc
From: Mark Newnham <mnewnham@adacorp.com> To: "'Jean-Christian Imbeault'" <jean_christian@hotmail.com>, php-db@lists.php.net Subject: RE: [PHP-DB] newbie: how to connect to a remote DB Date: Thu, 11 Oct 2001 08:59:27 -0600 got www.faqts.com and search for AS400. There are a number of articles on connecting PHP to a DB2 database on an AS400. -----Original Message----- From: Jean-Christian Imbeault [mailto:jean_christian@hotmail.com] Sent: Thursday, October 11, 2001 3:45 AM To: k.whyman@bf-72.de; php-db@lists.php.net Subject: Re: [PHP-DB] newbie: how to connect to a remote DB Oops, maybe my question wasn't clear? From PHP how do I open a connection? Also I do not want to connect to a mySQL DB. I want to connect from PHP to an AS/400 DB (DB2 I guess) that is on another machine on the LAN. Thanks again! Jc_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.aspFrom: "Keith Whyman" <k.whyman@bf-72.de> To: "Jean-Christian Imbeault" <jean_christian@hotmail.com>, <php-db@lists.php.net> Subject: Re: [PHP-DB] newbie: how to connect to a remote DB Date: Thu, 11 Oct 2001 11:35:47 +0200 From the command line use the following ; mysql -h hostname -u username -plike to open aOk, this is a very newbie question. I have PHP and Apache set up on a Linux machine. I wouldDBgo about it? Myconnection to an A/S400 machine on our network. How do IPHPon remotebooks only cover local mySQL and ODBC connection, nothingphp-list-admin@lists.php.netconnections. Any links to material I should read or tutorials are appreciated! Jc _________________________________________________________________ Get your FREE download of MSN Explorer athttp://explorer.msn.com/intl.asp-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail:_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net