Introduction

MySQL is a popular open-source database system used around the world. It supports web apps, data systems, and business platforms. Installing MySQL 8.0 on Windows Server is simple with the MySQL Installer, which takes care of setup and needed files automatically.

This guide gives easy steps to install, set up, and check MySQL 8.0 on Windows Server.

Screenshot_7

Prerequisites

Step 1: Download the MySQL Installer

  1. Go to the official MySQL website: https://dev.mysql.com/downloads/installer/

  2. Choose Windows (x86, 64-bit), MySQL Installer MSI.

  3. Select one of these options:

  1. Click Download, then run the installer after the download finishes.

2025-11-04_19h17_20
  1. No thanks, just start my download.

2025-11-04_19h18_34

Step 2: Run the Installer

  1. Right-click the downloaded MySQL Installer and select Run as Administrator.

  2. If a message from User Account Control (UAC) appears, click Yes to allow the changes.

Step 3: Choose Setup Type

The installer gives you different setup choices:

  1. Select Full: Installs all MySQL products.

  2. Then Click Next

Note. For most servers, choose Server Only, or Developer Default if you need tools like MySQL Workbench.

Click Next to continue.

2025-11-04_19h26_00

Step 4: Check for Requirements

  1. The Visual C++ Redistributable package was not found on this server. Click Install to install the required component.

  2. When finished, click Next.

2025-11-04_19h26_57

Step 5: Begin Installation

  1. Click Execute to start installing MySQL.

2025-11-04_20h02_31
  1. The installer will download and install all selected parts.

  2. Wait until it finishes, then click Next.

2025-11-04_20h13_30

Step 6: Configure MySQL Server

Type and Networking

2025-11-04_23h28_08

Authentication Method

2025-11-04_23h32_26

Accounts and Roles

2025-11-04_23h34_16

Windows Service

2025-11-04_23h37_34

Server File Permission

Click Execute to apply the settings.

When it finishes successfully, click Finish.

2025-11-04_23h39_19

Apply Configuration

2025-11-04_23h44_21

Step 7: Add MySQL to System PATH (Optional)

Press Windows + R, type:

sysdm.cpl

and press Enter.

Go to Advanced → Environment Variables.

2025-11-05_00h21_36

Under System variables, find Path, select it, and click Edit.

2025-11-05_00h22_26

Click New, then paste the path to the bin folder

C:\Program Files\MySQL\MySQL Server 8.0\bin
2025-11-05_00h23_17

Click OK on all windows to save the changes.

Now you can use MySQL commands anywhere in the terminal.

Step 8: Verify the Installation

Option A: Using Command Prompt

  1. Open Command Prompt.

  2. Type:

mysql -u root -p
  1. Enter your password.

2025-11-04_23h56_53

Option B: Using MySQL Workbench

Open MySQL Workbench.

2025-11-05_00h08_58

Under MySQL Connections,

If it opens successfully, it means MySQL is working correctly.

2025-11-05_00h10_32

Step 9: Start and Stop MySQL Service

You can control MySQL using the Command Prompt:

Start MySQL

net start mysql80

Stop MySQL

net stop mysql80
2025-11-05_00h28_57

Step 10: Verify MySQL Version

To check the version, type:

mysql --version

Example output:

mysql  Ver 8.0.39 for Win64 on x86_64 (MySQL Community Server - GPL)
2025-11-05_00h30_02

Conclusion

Installing MySQL 8.0 on Windows Server is easy and reliable.
The MySQL Installer handles setup and dependencies automatically, making it simple even for new users.

After installing, you can:

MySQL 8.0 offers great speed, strong security, and wide support, making it a good choice for modern systems running on Windows Server.