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

Code Example 1

To exit from mysql type quit at the mysql> command-prompt

Learn ReactJs, React Native from akashmittal.com