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 privacy policy and terms of service.
tagged
asked
3 years ago
viewed
281 times
active