Check out example codes for "mysql export database command line". It will help you in understanding the concepts better.

Code Example 1

mysqldump -u username -p dbname > dbexport.sql

Code Example 2

mysqldump --databases --user=root --password your_db_name > export_into_db.sql

Learn ReactJs, React Native from akashmittal.com