Skip to content

Setting Up MySQL on a Windows Server – Deploy and Manage Reliable Databases

Learn how to set up and secure your own MySQL database server on a Windows Dedicated Server for reliable data management → Find out more now

12 November 20261 min read71 Views0 helpful

Introduction

A MySQL server is needed for various applications and can hold important data, for example for a game server or a website. Below, we explain how to set up your own MySQL database server on your Windows Dedicated Server.

Installation

First, connect to your server via Remote Desktop and download the latest version of MariaDB, which is used for the database server: MariaDB Download.

Extract the downloaded archive using WinRAR or 7Zip and start the installation file by double-clicking it:

Then proceed through the installation process by clicking Next until you are prompted to enter the root password:

Here you can set the master password for accessing your database server. Make sure to choose a secure password that no one else knows!

Info

IMPORTANT! If you want to access the database externally using Navicat, HeidiSQL, or another tool, you must enable the option Enable access from remote machines for root user! For security reasons, this is generally not recommended.

Then continue clicking Next until you reach the end of the installation, and click Install there:

Your database server is now online and ready to use!

Configuring External Access

If you enabled “Enable access from remote machines for root user” during installation, you also need to open the MySQL port 3306 in the Windows Firewall. To do this, open the firewall and create a new rule.

You can find instructions for forwarding ports in the firewall here: Port Forwarding (Firewall)

Now you can access your MySQL server externally!

Conclusion

Congratulations, you have successfully installed the MySQL server. If you have any further questions or need help, our support team is available daily to assist you! 🙂

FAQ

Frequently asked questions

Connect to your server via Remote Desktop, download the latest MariaDB version, extract it, and run the installer. During installation, set a root password and complete the setup by clicking Install.
Enable the option 'Enable access from remote machines for root user' during installation and open MySQL port 3306 in the firewall. Note that this is generally not recommended for security reasons.
MariaDB is used; the latest version can be downloaded from mariadb.org/download/.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.