Installing And Testing MySQL Server On Amazon EC2 Server
First you need to connect to your Amazon EC2 instance with SSH, you can do that by using PuTTy on windows and Terminal on Linux or Mac. Once you’re connected to EC2 server, issue the following commands to install MySQL.