Como exportar db de mysql
mysqldump -u username -p dbname > dbexport.sql
Stormy Shark
mysqldump -u username -p dbname > dbexport.sql
# if your database is not locally hosted
mysql -u username -p -h dbhost dbname < filename.sql
mysql -u username -p database_name < file.sql
mysqldump --databases --user=root --password your_db_name > export_into_db.sql
mysql -u username -p database_name < file.sql
; OR
mysql> use db_name;
mysql> source file_name.sql;
mysql -h hostname -u root -p databasename < path/filename.sql;