Windows Server 2025: Install MariaDB

Windows Server 2025

In this tutorial, we will see how to install the MariaDB database server on Windows Server.

Download MariaDB for Windows Server

Start by downloading the MariaDB installation file, which is available at this address: https://mariadb.org/download/?t=mariadb&p=mariadb&r=11.8.2&os=windows&cpu=x86_64&pkg=msi&mirror=icam

Depending on your needs, adjust the MariaDB version 1 and click on Download 2.

Once the download is complete, run the downloaded file 1 to launch the installation wizard.

Installing MariaDB on Windows Server

When launching the assistant, click on the Next 1 button.

Check box 1 to accept the license and click on Next 2.

Leave the default components, click on Next 1.

Enter the root account password 1, configure access to the root account from remote machines if necessary, you can also choose to store the data in another location, then click the Next 2 button.

At this stage of the wizard, you can modify the instance settings by changing the service name and listening port. Click Next 1.

The basic settings have been defined, click on the Install 1 button.

Depending on the Windows Server 2025 system settings, confirm the privilege elevation by clicking Yes 1 to install MariaDB.

Please wait while MariaDB is being installed…

Once the MariaDB installation is complete on Windows Server, close the wizard by clicking on Finish 1.

MariaDB is installed.

Testing the functionality of MariaDB

To validate the proper functioning of MariaDB on Windows Server, we will connect to the server using the root account with HeidiSQL, which is a graphical tool that allows the administration of MariaDB.

On the desktop, click on the HeidiSQL icon to open it.

The session manager clicks on the Add 1 button.

Enter the MariaDB server address 1 (127.0.0.1), specify user as root 2 and enter the password 3 then click on Open 4.

If you wish to save the connection settings, click the Save button first.

You are connected to the MariaDB server; from HeidiSQL, you can create databases and manage users and their rights.


You know how to install a MariaDB server on Windows Server.

Romain Drouche
System Architect | MCSE: Core Infrastructure
IT infrastructure expert with over 15 years of field experience. Currently a Systems and Networks Project Manager and Information Systems Security (ISS) expert, I use my expertise to ensure the reliability and security of technological environments.