Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

dump sql databse import export

Export Database
mysqldump -u root -p --all-databases > alldb.sql

additional
mysqldump -u root -p --opt --all-databases > alldb.sql
mysqldump -u root -p --all-databases --skip-lock-tables > alldb.sql


Import database
mysql -u root -p < alldb.sql
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dump #sql #databse #import #export
ADD COMMENT
Topic
Name
1+8 =