[PHP-DB] hotlink MySQL

2002-10-15 Thread Seabird

Is it possible to hotlink a MySQL database?

my site location is different then my MySQL location. (or at least a site).
Is it possible to use the database for both sites or should I set up the
database at both locations?

The reason for asking is that one of the locations doesn't provide MySQL
DB's anymore (max number of DB's is limited)

Pls let me know if this is possible, and if so, how.

Thanx,

Jacco
http://seabird.coolfreepage.com/main2.php




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] hotlink MySQL

2002-10-15 Thread John W. Holmes

 Is it possible to hotlink a MySQL database?
 
 my site location is different then my MySQL location. (or at least a
 site).
 Is it possible to use the database for both sites or should I set up
the
 database at both locations?
 
 The reason for asking is that one of the locations doesn't provide
MySQL
 DB's anymore (max number of DB's is limited)
 
 Pls let me know if this is possible, and if so, how.

It's possible as long as your database allows remote access. You just
give the IP address of the mysql server in your mysql_connect()
function.

$link = mysql_connect(192.168.0.1,user,password);

---John Holmes...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] hotlink MySQL

2002-10-15 Thread Kurth Bemis (List Monkey)

At 07:55 PM 10/15/2002 +0200, Seabird wrote:

yes - just specify the hostname that your mysql DB resides on.  And make 
sure that your mysql users is allowed to connect from the host that your 
APP or page or whatever is on.

~kurth

Is it possible to hotlink a MySQL database?

my site location is different then my MySQL location. (or at least a site).
Is it possible to use the database for both sites or should I set up the
database at both locations?

The reason for asking is that one of the locations doesn't provide MySQL
DB's anymore (max number of DB's is limited)

Pls let me know if this is possible, and if so, how.

Thanx,

Jacco
http://seabird.coolfreepage.com/main2.php




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php