I would like to know if it is posible to configure a local hot standby slave that can connect to a remote master (managed database), since we can’t configure the config of a managed database, is there an alternative way to accomplish this.
I am developing a POS application, also I don’t have a reliable internet connection so when in offline mode I want to access my local database just for reading, until connection established.
Thanks in advance.
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.
Hello,
I believe that this would not be possible with the Managed MySQL Databases as you can not really make any direct changes to the configuration files and you do not have direct SSH access to the servers.
What I could suggest in this case is exporting your database on a regular basis, let’s say every 30 to 60 minutes and storing the SQL backup on your local machine, that way if your internet goes down you could import the latest SQL backup to your local SQL server and use locally.
Hope that this helps. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
