×
Community Blog Manually Deploy a MySQL Database on an ECS Windows Instance

Manually Deploy a MySQL Database on an ECS Windows Instance

This article describes how to manually deploy a MySQL database on an Elastic Compute Service (ECS) Windows instance.

By Alibaba Cloud ECS Team

This article describes how to manually deploy a MySQL database on an Elastic Compute Service (ECS) Windows instance.

Prerequisites

An Alibaba Cloud account is created. To create an Alibaba Cloud account, go to the Sign up to Alibaba Cloud page.

Procedure

1.  Create an ECS instance that runs Windows Server 2012. For more information, see Create an instance by using the wizard.

2.  Connect to an ECS instance. For more information, see Connect to a Windows instance by using password authentication.

3.  Download and install the vcredist_x86.exe plug-in.

4.  Download an MySQL installation package from the MySQL official website. In this article, the MySQL 5.6.15.0 installation package is used.

5.  Install MySQL on the ECS instance.

a) Double-click mysql-installer-community-5.6.15.0.msi to install MySQL.

1

b) Select Install MySQL Products.

2

c) 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.

3

d) Keep the default values unchanged, click Next, and then click Execute to start to install MySQL.

4

e) Click Next to go to the MySQL Server Configuration page, and select Server Machine from the Config Type drop-down list.

5

f) 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.

6

6.  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.

0 1 0
Share on

Alibaba Cloud Community

1,029 posts | 252 followers

You may also like

Comments

Alibaba Cloud Community

1,029 posts | 252 followers

Related Products