This topic describes how to manually deploy a MySQL database on a Windows-based Elastic Compute Service (ECS) instance.


You must have an Alibaba Cloud account before you follow the instructions provided in the tutorial. To create an Alibaba Cloud account, click Create an Alibaba Cloud account.


  1. Activate an ECS instance running Windows Server 2012. For more information, see Create an instance by using the provided wizard.
  2. Connect to an ECS instance by using the Management Terminal. For more information about detailed steps, see Connect to a Windows instance by using the Management Terminal.
  3. Download and install the plug-in vcredist_x86.exe.
  4. Download a MySQL installer on
  5. Install the MySQL database.
    1. Double-click mysql-installer-community- to install MySQL.
    2. Select Install MySQL Products.
    3. Select I accept the license terms and skip the check for updates, click Next, and then select Custom to start custom installation. In the right pane, specify the MySQL installation location and the database location, and click Next.
      In this example, use the default MySQL installation location and database location.install_mysql_4
    4. Keep the default values unchanged, click Next, and then click Execute to start the installation.
    5. Click Next to go to the MySQL Server Configuration page, and select Server Machine from the Config Type drop-down list.
    6. Keep the default values unchanged, click Next, and then enter the password of the root user to complete the installation.
    After you install MySQL, the MySQL Command-Line Client icon appears on the start page.install_mysql7
  6. Add an inbound rule to the security group of the activated ECS instance to open port 3306. For more information, see Add security group rules.