So I have backed all my databases up with this:
mysqldump -u root -p --all-databases > all.sql
My question is how to restore all.sql to mysql?
If you've included the CREATE TABLE lines,
mysql -uroot -p < all.sql
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
3 years ago