Skip to content

Commit 539c45a

Browse files
committed
merge: Merge branch 'master' into feature/bots
2 parents 6c51bfd + 0fda0e2 commit 539c45a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

builder/InstallFullDB.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ CHAR_DB_NAME="${MANGOS_CHARACTERS_DBNAME}"
3737
LOGS_DB_NAME="${MANGOS_LOGS_DBNAME}"
3838

3939
## Define your mysql programm if this differs
40-
MYSQL_PATH="/usr/bin/mysql"
40+
MYSQL_PATH="/usr/bin/mariadb"
4141

4242
## Define the path to your mysql dump binary folder
43-
MYSQL_DUMP_PATH="/usr/bin/mysqldump"
43+
MYSQL_DUMP_PATH="/usr/bin/mariadb-dump"
4444

4545
## Define the path to your core's folder
4646
CORE_PATH="${MANGOS_DIR}"

builder/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ function error()
4141

4242
function mysql_execute()
4343
{
44-
mysql "-h${MANGOS_DBHOST}" "-P${MANGOS_DBPORT}" "-u${MYSQL_SUPERUSER}" "-p${MYSQL_SUPERPASS}" ${@}
44+
mariadb "-h${MANGOS_DBHOST}" "-P${MANGOS_DBPORT}" "-u${MYSQL_SUPERUSER}" "-p${MYSQL_SUPERPASS}" ${@}
4545
}
4646
function mysql_dump()
4747
{
4848
local DATABASE_NAME="${1}"
4949
local OUTPUT_FILE="${2}"
5050

51-
mysqldump "-h${MANGOS_DBHOST}" "-P${MANGOS_DBPORT}" "-u${MYSQL_SUPERUSER}" "-p${MYSQL_SUPERPASS}" \
51+
mariadb-dump "-h${MANGOS_DBHOST}" "-P${MANGOS_DBPORT}" "-u${MYSQL_SUPERUSER}" "-p${MYSQL_SUPERPASS}" \
5252
"${DATABASE_NAME}" --opt --result-file="${OUTPUT_FILE}"
5353
}
5454

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: cmangos
22
services:
33
mariadb:
4-
image: mariadb:11.5
4+
image: mariadb:11.8
55
environment:
6-
MYSQL_ROOT_PASSWORD: "${MYSQL_SUPERPASS}"
6+
MARIADB_ROOT_PASSWORD: "${MYSQL_SUPERPASS}"
77

88
networks:
99
- default

0 commit comments

Comments
 (0)