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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.