access MySQL remotely
access MySQL remotely
- Started
- Last post
- 2 Responses
- phirschybar
Can I access a MySQL database remotely (from another server)? If so, what do I use to connect ... IP/localhost?
- sparker0
yes, you can connect to a mysql db remotely...
when setting 'host', use the domain.
if your host is on domain.com,
in php:
mysql_connect('domain.com','user...
- industry730
as long as your server allows it.
most hosting providers only allow local so the Site must be running on the same machine as MySQL, for security reasons.