Backup MySQL Database to SQL File with mysqldump


/ Published in: MySQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mysqldump --user=username --password=password --opt --add-drop-database --databases databasename > ~/path/to/file.sql

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.