Fixing wow database settings

This commit is contained in:
Stephen Deaton 2026-02-08 11:05:04 -05:00
parent 7c2fad9724
commit db65afd0e9

View File

@ -13,12 +13,14 @@ This is the documentation to create a World of Warcraft server.
* Log into server using putty. * Log into server using putty.
* Create a user names acore with pw acore * Create a user names acore with pw acore
``` ```
sudo adduser newuser sudo adduser acore
``` ```
It then ask you to set a pw use acore and leave all the other info blank just say Y to last question.
* Then add them to the sudo group * Then add them to the sudo group
``` ```
sudo usermod -aG sudo newusername sudo usermod -aG sudo acore
``` ```
* Install the needed packages * Install the needed packages
``` ```
sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-dev unzip sudo apt-get update && sudo apt-get install git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libboost-all-dev unzip
@ -27,6 +29,16 @@ This is the documentation to create a World of Warcraft server.
``` ```
export MYSQL_APT_CONFIG_VERSION=0.8.33-1 export MYSQL_APT_CONFIG_VERSION=0.8.33-1
``` ```
*!WARNING When using recent versions of Debian or Ubuntu, there's an automatic update checking and install that can break the functioning of the server! In fact, MySQL for example can be automatically updated (while the server is running!), so authserver and worldserver instantly crash and this situation may cause a loss of playtime.
So, to avoid this, just do this:
1. Edit the file
sudo nano /etc/apt/apt.conf.d/20auto-upgrades
2. Put a # at the start o both lines.
3. Reboot
* Download the latest Mysql Repository * Download the latest Mysql Repository
``` ```
wget https://dev.mysql.com/get/mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb wget https://dev.mysql.com/get/mysql-apt-config_${MYSQL_APT_CONFIG_VERSION}_all.deb
@ -130,10 +142,11 @@ Run the following commands in order
use acore_auth; use acore_auth;
UPDATE realmlist SET address = ' IP of machine 192.168.*.*' WHERE id = 1; UPDATE realmlist SET address = '192.168.*.*' WHERE id = 1;
exit exit
``` ```
NOTE: YOU HAVE TO PUT THE VMS IP ADDRESS AFTER THE SET adress =
# Time to start the server # Time to start the server
@ -178,7 +191,7 @@ Run the following commands in order
# To add a user into the database for players access to the game # To add a user into the database for players access to the game
For the next section you must be in the worldserver screen
* To create an account * To create an account
``` ```