To Export Data from Terminal Use Following Command :
mysql -p -u databasename > databasename.sql
OR
mysqldump -p -u databasename > databasename.sql
To Import Data from Terminal Use Following Command :
mysql -p -u databasename < databasename.sql
OR
mysqldump -p -u databasename > databasename.sql
mysql -p -u databasename > databasename.sql
OR
mysqldump -p -u databasename > databasename.sql
To Import Data from Terminal Use Following Command :
mysql -p -u databasename < databasename.sql
OR
mysqldump -p -u databasename > databasename.sql
No comments:
Post a Comment