I got below: mysqldump -u doadmin -p -h mysql-test-do-user-4915853-0.db.ondigitalocean.com -P 25060 --single-transaction --set-gtid-purged=OFF your_database_name \
Trying to use this in a cronjob without success (adding password to above). Is it not doable to mnysqldump a digitalocean managed database through cronjob?
I noticed “The application prompts you for your MySQL doadmin user password.” from above URL. Does that mean you cant authenticate through cron command?
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.