sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libace-6.* libace-dev
sudo apt-get install git cmake make gcc g++ clang default-libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libace-6.* libace-dev
sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libace-6.* libace-dev
To configure MySQL in Ubuntu 18.04 and similar (set
root password and other settings) read this guide.
Note: on latest versions of Ubuntu the default mysql version is 5.7. If you’re using this version, read this.
Install XCode using the App Store, then open the terminal and type:
For those who don’t have Homebrew installed, you can easily install it typing:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then use it to install the required packages:
brew install openssl readline cmake ace coreutils bash bash-completion md5sha1sum mysql56
brew link mysql56 --force
Install Visual Studio >= 15 ( 2017 Desktop Community ) Microsoft downloads
Install CMake version >= 2.8
Install latest version of Git Extensions
MySQL Server Community Edition ( 5.6 or higher )
These files are shipped with MySQL Server but to make it easier we packed the libs and include files for both 32 bits and 64 bits.
Extract the files to a known location, e.g, C:\MySQL, directory structure must be following: C:\MySQL\include and C:\MySQL\lib\debug (Move libmysql.dll and libmysql.lib there)
Install OpenSSL version 1.0.x (Do not install the Light version)
Download the 64bit version. Or you can get both if you plan to compile both 32 and 64bit, they can coexist side by side.
AzerothCore does not officially support MySQL version >= 5.7, but there is a way to get it up and running.
You have to remove NO_ZERO_IN_DATE and NO_ZERO_DATE flags from MySQL’s sql_mode variable in the MySQL config file so that all queries updates and core statements can be applied correctly.
You will find some useful information on StackOverflow about How to use AzerothCore with MySQL 5.7