How to use MySQL dump from a remote machine

前端 未结 7 1469
刺人心
刺人心 2020-12-12 12:41

How can I backup a mysql database which is running on a remote server, I need to store the back up file in the local pc.

7条回答
  •  青春惊慌失措
    2020-12-12 13:32

    Try it with Mysqldump

    #mysqldump --host=the.remotedatabase.com -u yourusername -p yourdatabasename > /User/backups/adump.sql
    

提交回复
热议问题