Check out example codes for "exectuer myssql .sql". It will help you in understanding the concepts better.

Code Example 1

mysql -u[utilisateur] -p [nom_base_de_donnees] < fichier.sql

Learn ReactJs, React Native from akashmittal.com