Hello all, if I have got a MySQL database located on 1 server is it possible to have a page hosted on a different server read data in that database as long as I set the right permisions....
Yeah I've only use a couple of cPanel hosts and they've both allowed it I rekon hosts that have more generic control panels tend to give more control over what you can do with your hosting
But 1and1, for example, don't allow remote connection to their db... which is a bummer - the main reason I decided not to go with 1and1 for hosting. Plus I don't like their custom control panel, from what I've seen of it anyway!
If not could you setup a file on the database server that ready is a line of text (the query) and then executes it and returns the result? Like a simple AJAX or something?
If the mysql server is bound to localhost or to a UNIX domain socket (file socket) on the server, you could still use SSH tunnelling or somesuch. Just keep the connection persistant otherwise the setup-overhead would be painful.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.