AzerothCore
Pages :

Windows Requirements

Installation Guide
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.
<< Start: Installation Guide Step 2: Core Installation >>
Windows ≥ 10
Boost ≥ 1.78
MySQL ≥ 5.7.0 (Recommended version: ≥ 8.0)
OpenSSL ≥ 3.0.x (Ver. 3.1 and above are not supported.)
CMake ≥ 3.16
MS Visual Studio (Community) ≥ 17 (2022) (Desktop) (No preview)
  1. Git

    1. Download the standalone installer

      • During Git installation - Adjust your PATH environment. Pick "Git from the command line and also from 3rd-party software".
  2. Github Desktop

    1. Download the installer and follow the steps to set it up.
  3. Install the compiler / IDE Visual Studio Community 2022 (ver 17)

    You will need to install the C++ compiler.

    To do this, select Desktop development for C++ under Workloads -> Desktop & Mobile.

  4. MySQL Server Community Edition

    1. Download the Windows MSI Installer.

    2. Scroll down to the bottom and click on "No thanks, just take me to the downloads!"

    3. When the installation is almost done, make sure "Launch the MySQL Instance Configuration Wizard" is checked, then click "Finish".

    4. When the MySQL Instance Configuration Wizard launches, most default options are fine, but remember the username and password you use (root // whatever). You will need them to log into your chosen database management tool (below) in order to import SQL files later.

    5. To test if MySQL is set up correctly, hit CTRL+ALT+DEL on your keyboard, enter the Task Manager, and select the "Services" tab. In the list of services you should see "MySQL" with a status of "Running".

    6. Add MySQL to Environment Variables.

      1. Go to Control Panel -> System

      2. Go to Advanced System Settings

      3. Go to Environment Variables

      4. Under "Systemvariables" select Path

      5. Edit and add your install path of MySQL, i.e C:\Program Files\MySQL\MySQL Server 8.0\bin\

  5. Choose a database management tool

    • MySQL cli (Fastest)

    • SQLYog Community Edition

    • HeidiSQL (Best for beginners)

    • MySQL Workbench (already installed if you chose to install the full MySQL package)

    • DBeaver (Multiplatform Database Management Tool)

    1. Try connecting to your database. You may be looking for "Connect to Host", "New Connection" or "Session Manager" depending on which program you use.

    2. Create a new connection/session. The Hostname/IP address of "127.0.0.1" or "localhost" is fine if you installed MySQL on the same computer that you installed HeidiSQL or SQLYog. Simply fill in your root // whatever password and you should now be able to connect to your database.

  6. CMake

    1. Download and install the Latest Release windows-x86_64.msi file, NEVER the RC (Release Candidate) versions.

    2. We recommend to compile in 64 bits mode.

  7. MySQL development files

    1. These files are shipped with MySQL Server, search for them in the program files directory, MySQL\MySQL Server 8.0\lib / MySQL\MySQL Server 5.7\lib.
  8. OpenSSL Download the 64bit version.

    1. Find the 64-bit version by finding the latest 3.0.x Win64 OpenSSL that is NOT the "light" version. (Example: Win64 OpenSSL v3.0.7)
  9. Boost.

    1. Download the prebuilt Windows Binary for Visual Studio 2022

    2. 64bit

    3. Add an environment variable to the "System" variable named "BOOST_ROOT" and with the value being your Boost installation directory, e.g. C:/local/boost_1_81_0. Important is to use '/', not '\' when pointing to the directory. (Make sure that it does not have a trailing slash (end of the path). If you still get problems, add the same variable in the USER variables section too, as shown in the image below.)


Help

If you are still having problems, check:

Installation Guide
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.
<< Start: Installation Guide Step 2: Core Installation >>