How to Install MySQL on AWS EC2? Last Updated : 16 Dec, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report AWS or Amazon web services is a cloud service platform that provides on-demand computational services, databases, storage space, and many more services. EC2 or Elastic Compute Cloud is a scalable computing service launched on the AWS cloud platform. In simpler words, EC2 is nothing but a virtual computer on which we can perform all our tasks and we have the authority to configure, launch or even dissipate this virtual computer. In this article, we will learn how to install MySQL on AWS EC2. Prerequisite:AWS account.EC2 Instance.User with privileges to create Instance.Implementation: Follow the steps below to install MySQL on AWS EC2: Step 1: Create an AWS Elastic Cloud Compute Instance.. Step 2: Start the EC2 instance that you have created in Step 1. Step 3: Connect to your EC2 Instance by clicking on Connect Button. Step 4: A prompt will pop up after connecting. Step 5: If MySQL is not installed on your virtual machine then install the MySQL server using the following command. sudo apt install mysql-server Step 6: A prompt will appear asking you for confirmation, press 'y' to confirm. Step 7: We have successfully installed MySQL server on our EC2 instance, to check if the MySQL server is running or not, verify using the following command. sudo systemctl status mysql In this way, we can install MySQL on our EC2 instance using EC2 Instance Connect. And if you also use a free tier account, make sure you delete all the resources you have used before logging out. Comment More infoAdvertise with us Next Article How to Install MySQL on AWS EC2? H harshsethi2000 Follow Improve Article Tags : How To Installation Guide how-to-install Similar Reads How to Install R on AWS EC2? R is widely used as a different programming language. There are several programming languages are present for different purposes. The C programming language is used to get basic knowledge in the programming field. Java programming language is used to get some deep knowledge of programming & its 7 min read How to Install Go on AWS EC2? EC2 or Elastic Compute Cloud is a scalable computing service launched on the AWS cloud platform. In simpler words, EC2 is nothing but a virtual computer on which we can perform all our tasks and we have the authority to configure, launch or even dissipate this virtual computer.Go is an open-source, 2 min read How to Install PHP on AWS EC2? AWS or Amazon web services is a cloud service platform that provides on-demand computational services, databases, storage space, and many more services. EC2 or Elastic Compute Cloud is a scalable computing service launched on the AWS cloud platform. In simpler words, EC2 is nothing but a virtual com 2 min read How to Install MySQL on Fedora? MySQL is one of the oldest and most reliable open-source (Available to all) Relational Database Management Systems. It is Trusted by millions of users worldwide for developing various web-based software Applications. MySQL, along with its fork MariaDB, is available on almost all operating systems an 5 min read How to Install Python3 on AWS EC2? AWS or Amazon web services is a cloud service platform that provides on-demand computational services, databases, storage space, and many more services. EC2 or Elastic Compute Cloud is a scalable computing service launched on the AWS cloud platform. In simpler words, EC2 is nothing but a virtual com 3 min read Like