Re: newbie: how to connect to a remote DB

From: Date: Thu, 11 Oct 2001 09:44:34 +0000
Subject: Re: newbie: how to connect to a remote DB
Groups: php.db 
Request: Send a blank email to php-db+get-13241@lists.php.net to get a copy of this message
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
From: "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 -p Ok, this is a very newbie question. I have PHP and Apache set up on a Linux machine. I would like to open a DB connection to an A/S400 machine on our network. How do I go about it? My PHP books only cover local mySQL and ODBC connection, nothing on remote connections. Any links to material I should read or tutorials are appreciated! Jc _________________________________________________________________ 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
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

« previous php.db (#13241) next »