How to use MySQL dump from a remote machine
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. Try it with Mysqldump #mysqldump --host=the.remotedatabase.com -u yourusername -p yourdatabasename > /User/backups/adump.sql Have you got access to SSH? You can use this command in shell to backup an entire database: mysqldump -u [username] -p[password] [databasename] > [filename.sql] This is actually one command followed by the > operator, which says, "take the output of the previous command and store it in this file." Note: The lack of a space between -p and the mysql