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

Code Example 1

mysqladmin -u root -p shutdown
mysqld –uroot –p Or mysql.exe -uroot -p

Code Example 2

SHOW DATABASES;

Code Example 3

use DBNAME;

Learn ReactJs, React Native from akashmittal.com