Guest User

Untitled

a guest
Jan 18th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #Export:
  2.  
  3. mysqldump -u root -p --all-databases > alldb.sql
  4.  
  5. #Look up the documentation for mysqldump. You may want to use some of the options mentioned in comments:
  6.  
  7. mysqldump -u root -p --opt --all-databases > alldb.sql
  8. mysqldump -u root -p --all-databases --skip-lock-tables > alldb.sql
  9.  
  10. #Import:
  11.  
  12. mysql -u root -p < alldb.sql
Add Comment
Please, Sign In to add comment