Backup MySQL Database to SQL File with mysqldump


Submitted by:Jhon Smith

Date added:26 January, 2017

Category:MySQL

Exam code to backup MySQL Database to SQL File

Tags: backup , my sql dump

Code Snippet:

mysqldump --user=username --password=password --opt --add-drop-database --databases databasename > ~/path/to/file.sql
 
 

Comments