Report this

What is the reason for this report?

Querying Remote Database

Posted on May 17, 2017

I have an Ubuntu installation on a droplet. I was hoping to use the Cron tab to kick off a SQL query I’ve written to query a remote database (hosted by HostGator) table of mine. Is this possible?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@horsebear

If HostGator allows remote database connections, yes. If they do not allow remote connections, and most shared providers do not, then it wouldn’t be possible as the connection attempt would fail.

You’d need to get in touch with HostGators’ support team and see if they allow remote connections.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.