How to backup mysql database to my local PC? I cannot find the tutorial on help page... Only postgresql.
Thank you
Hi there, you can use the
mysqldump
command from a Bash console to save your database to a backup file, and then you can download that to your own PC. The command should look something like this:
mysqldump -u UserName -p -h UserName.mysql.pythonanywhere-services.com --databases 'UserName$default' > /home/UserName/database-backup.sql
Sorry, we have had to rate-limit your feedback sending. Please try again in a few moments...
Thanks for the feedback! Our tireless devs will get back to you soon.