Export schema and data from one database.
Section: mysqldump and restore
Dump one database
bash
bash
mysqldump -u root -p --databases app_db > app_db.sqlExplanation
A standard logical backup command for development, migration, and restore workflows.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing mysqldump and restore