How Do I Dump a mySQL Database via Command Line?
If you are familar with command line access via SSH you can issue the below command to produce a backup file of your mySQL database.
mysqldump db_name -u db_username -p db_password > db_backup.sql
mysqldump db_name -u db_username -p db_password > db_backup.sql
Updated on: 07/01/2023
Thank you!