Restoring a backup of a database or table

suggest change
mysql [options] db_name < filename.sql

Note that:

Alternatively, when in the MySQL Command line tool, you can restore (or run any other script) by using the source command:

source filename.sql

or

\. filename.sql

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents