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

Code Example 1

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

Code Example 2

mysqldump -u username -p dbname > dbexport.sql

Code Example 3

mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]

Code Example 4

LOAD DATA INFILE "name.csv" INTO TABLE "TableName"
FIELDS TERMINATED BY "sign"
LINES TERMINATED BY "sign"
IGNORE 1 LINES
(columns);

Learn ReactJs, React Native from akashmittal.com