PDA

View Full Version : Access MySQL database from other host??


MediaHall
11-02-2002, 11:55 AM
How do I access my MySQL database from an other website that's on an other domain, not hosted by HostRocket?

What do I need to fill in at host?? Now I use localhost...

Thanks!

sylow
11-02-2002, 12:15 PM
you cannot
because hostrocket disabled the feature for safety reasons.

sylow
11-02-2002, 12:15 PM
you cannot
because hostrocket disabled the feature for safety reasons.

TomD
11-02-2002, 01:40 PM
Originally posted by MediaHall
How do I access my MySQL database from an other website that's on an other domain, not hosted by HostRocket?

What do I need to fill in at host?? Now I use localhost...

Thanks!

While the previous answers are correct you could write some PHP to send the data you need via XML and PHP on the other end to catch it. If you restricted the PHP on your end from responding to anything except the IP address of your other host you could remove some security concerns.

Just a thought on a work around. Nothing I have done.

Good luck.


Tom

MediaHall
11-03-2002, 06:59 AM
Thanks Tom and Sylow!

Greetz!

extreme
11-09-2002, 11:58 PM
damn, this was my question, guess i'll have to find another MySQL, because my friend hosts somewhere else.

sylow
12-04-2002, 05:25 AM
I think TomD's suggestion is a good way also. You can write a webservice. It is a little more work but solution and fun to do.
Good luck