Thursday, December 17, 2020

mySQL: How to restore a full backup of a database

How to restore a full backup of a mySQL database?


mysql -u [user] -p [database_name] < [filename].sql


From here:

https://dev.mysql.com/doc/refman/8.0/en/reloading-sql-format-dumps.html


No comments:

Post a Comment