RE: [PHP-DB] remote database exchange

From: Date: Mon, 16 Jul 2001 22:31:38 +0000
Subject: RE: [PHP-DB] remote database exchange
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10480@lists.php.net to get a copy of this message
The mysql_connect() function accepts a host name, which can be the internet address of another machine! However-- the MySQL database on that machine has to be set up to allow outside connections for whatever particular username/password you are using! Please see these pages to answer your questions: http://www.mysql.com/doc/A/d/Adding_users.html -- MySQL username/password configuration http://www.php.net/manual/en/ref.mysql.php --- MySQL functions in PHP The PHP page has an example on that page that will show you -exactly- how to do it. --Matt -----Original Message----- From: Ken Sommers [mailto:mrsql.php@worldnet.att.net] Sent: Monday, July 16, 2001 5:53 PM To: PHP DB Mailing List Subject: [PHP-DB] remote database exchange Is it possible to exchange data on remote databases in PHP mysql? Suppose I had a MUSIC database that you wanted your site visitors to be able to query,and it was OK with me because you had a MOVIE database that I wanted MY site visitors to be able to query, Could we swing this? what is the name of this process? remote process serving? remote database access? relay exchange process server? IF it exists,,where are all the tutorials and docs on it? Ken -- 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

« previous php.db (#10480) next »