Dump a MySQL database into a file

Dump a MySQL database, including its data, into a file.

user_name
db_name
file_name

Command
Copy
mysqldump -u user_name -p db_name > db_backup.sql
Tags