How to backup a MySQL database using the command line

The syntax is straightforward:

mysqldump -uusername -ppassword database_name > db.backup.date

Tags

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top