Jump to content

Backup Remote MySQL Database


Go to solution Solved by michaelslamet,

Recommended Posts

  • Solution

Answering my own post, this is not connected with AutoIT, but hopefully this post can help somebody somewhere who landed on this page:

mysqldump.exe that come with MySQL server has a ability to backup from a remote server:

c:>mysqldump -u MyUserName -pMyPassword -h my-server.com --all-databases > c:backupalldbs_of_myserver_dot_com.sql

Note that between "-u" and MyUserName has a space, but between "-p" and "MyPassword" has no space.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...