Load a dump file into MySQL.
Section: mysqldump and restore
Restore from a SQL dump
bash
bash
mysql -u root -p app_db < app_db.sqlExplanation
This replays the SQL statements in the dump file against the target database.
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