This topic describes how to manually deploy a MySQL database on an Elastic Compute
Service (ECS) Windows instance.
Procedure
- Create an ECS instance that runs Windows Server 2012. For more information, see Create an instance by using the wizard.
- Connect to an ECS instance.
- Download and install the vcredist_x86.exe plug-in.
- Download an MySQL installation package from the MySQL official website.
In this topic, the MySQL 5.6.15.0 installation package is used.
- Install MySQL on the ECS instance.
- Double-click mysql-installer-community-5.6.15.0.msi to install MySQL.
- Select Install MySQL Products.
- Select I accept the license terms and skip the update check, click Next, and then
select Custom. In the right pane, specify the MySQL installation location and the database location,
and click Next.
In this example, the default MySQL installation location and database location are
used.

- Keep the default values unchanged, click Next, and then click Execute to start to install MySQL.
- Click Next to go to the MySQL Server Configuration page, and select Server Machine from the Config Type drop-down list.
- Keep the default values unchanged, click Next, and then enter the password of the root user to complete the installation of MySQL.
After you install MySQL, the MySQL Command-Line Client icon appears on the start page.

- Add inbound rules to the security group of the ECS instance and allow traffic on port
3306. For more information, see Add a security group rule.