How to setup MySQL Server on Windows in AWS

To install MySQL server on AWS, the best way is to use our AWS marketplace image that fully sets up a production ready MySQL server also running PHP, Apache, PhpMyadmin with MySQL connectors. Click on the link below to find our more information.

Setup MySQL on Windows 2019 on AWS


Deploy MySQL Windows 2019 on AWS

Install mysql on aws

Setup MySQL on Windows 2016 on AWS


Deploy MySQL Windows 2016 on AWS

Install Mysql on aws

Getting Started


MySQL Windows Server on AWS


Once you’ve deployed our MySQL windows virtual machine to your AWS tenant its ready to go. 


RDP into new MySQL server:

How to RDP to AWS Windows Instance


MySQL Server Details


MySQL database credentials are (also used for phpMyadmin login):

MYSQL Username: root
MYSQL Password: Password is the VM Instance ID. To find the Instance ID you will find on the top right of the desktop or within the AWS console under the EC2 VM properties

NOTE: If you find the root password doesn’t work. Wait 5 mins as during the first boot a start script is setting the root MySQL password and could still be running. You can see if its still running by viewing any Windows task schedule jobs. Wait for it to finish and then try logging in again.


MySQL location



PHP Files location:



Apache location



PhpMyadmin location:



MySQL Server Ports


The following ports need to be opened in AWS if you are using a firewall appliance or any security groups.  


3306 – TCP (MySQL)
33060 – TCP (MySQL X Protocol)
6446 – TCP MySQL Router
6447 – TCP MySQL Router
6448 – TCP InnoDB Cluster
6449 – TCP InnoDB Cluster


Apache Webserver Ports


TCP/80 – (http traffic)

TCP/443 – (https traffic)


To setup AWS firewall rules refer to – AWS Security Groups




If you have any questions about the setup of our MySQL Server on Windows solution in AWS, leave your comments below and we will reply within 24 hours.


Alternatively have a look at


Want some help (hire us)?


If you would like us to implement the MySQL server into your environment and fully configure it and get it up and running, get in contact with us and we will get you up and running asap

Avatar for Andrew Fitzgerald
Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.

3 2 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x