RE: [PHP-DB] Connecting from PHP to MySQL on another Server
| From: | Beau Lebens | Date: | Thu, 17 Jan 2002 08:34:48 +0000 |
| Subject: | RE: [PHP-DB] Connecting from PHP to MySQL on another Server | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-db+get-15919@lists.php.net to get a copy of this message | ||
// 1. What is the difference between working with PHP and MySQL
// on a local
// server and working with PHP and MySQL when MySQL is on a
// remote server?
none - just specify different hostname in connection call (perhaps IP more
reliable)
// 2. What is the protocol used to connect to MySQL on a local
// server and
// what is the protocol used to connect to a remote MySQL server?
TCP/IP?
// 3. Is there a difference in performance between connecting
// from PHP to
// MySQL on a remote server or PHP to MSSQL Server?
don't know about this one - guess would be that MySQL is faster, since it's
more lightweight and PHP seems to have been developed in tandem with it
(LAMPS, PHP Triad etc)
HTH
-b
//
// thanks
//
// berber
//
// --
// 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
//