Is it possible to link to a MySql database that is on another server and hosted somewhere else entirely?
Yes, as long as a path is provided to you to get "at" the MySql server. In other words, the person hosting the SQL server would have to ensure that a port is open on their firewall so that your application could talk to it.
yes, however, performance (bandwidth, latency) may be an issue depending on your specific requirements
Certainly. The most common production deployment has the database hosted on a seperate server. What might be interesting to you is the connection string that you application defines.
Yes - Check out connection strings http://www.connectionstrings.com/mysql
Yes, it is possible, but it is not wise solution, since your users will experience additional lags when your application will be connecting to some distant database.
It is possible if the hosted MySql server has a public IP you can access.
I have to recommend against it if you have a lot a data to transfer via the web, but within the network of company it works. In fact, in a common solution : you put the data on a dedicated server with performance/redundancy capabilites.
When you can connect to a local database you use a connection string such as 127.0.0.1:3306/somthing_something. With that in mind, you realise you can easily change this to another host.
I've been trying this for days with a joomla site and can't get it to connect to a remote DB. The db is configured to be accessible from all hosts but given that joomla has a config file that specifies seperately the host, DB name, username and pass (you can't create a connection string manually) I'm not sure what other options I have to get this to work.
Did the orginal poster have success with this?