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

Code Example 1

mysql -u USERNAME -p

Code Example 2

show databases;

Code Example 3

use DBNAME;

Learn ReactJs, React Native from akashmittal.com