Check out example codes for "installing mysql on aws using putty terminal". It will help you in understanding the concepts better.

Code Example 1

To install a MySQL Server on aws using putty terminal
1. First step is to of course ssh into the EC2 instance.
2. Then, at a command prompt, use the following command to install MySQL Server: sudo yum install mysql-server. When you are prompted, type 'y'.

Learn ReactJs, React Native from