File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ CHAR_DB_NAME="${MANGOS_CHARACTERS_DBNAME}"
37
37
LOGS_DB_NAME=" ${MANGOS_LOGS_DBNAME} "
38
38
39
39
# # Define your mysql programm if this differs
40
- MYSQL_PATH=" /usr/bin/mysql "
40
+ MYSQL_PATH=" /usr/bin/mariadb "
41
41
42
42
# # Define the path to your mysql dump binary folder
43
- MYSQL_DUMP_PATH=" /usr/bin/mysqldump "
43
+ MYSQL_DUMP_PATH=" /usr/bin/mariadb-dump "
44
44
45
45
# # Define the path to your core's folder
46
46
CORE_PATH=" ${MANGOS_DIR} "
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ function error()
41
41
42
42
function mysql_execute()
43
43
{
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} " ${@ }
45
45
}
46
46
function mysql_dump()
47
47
{
48
48
local DATABASE_NAME=" ${1} "
49
49
local OUTPUT_FILE=" ${2} "
50
50
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} " \
52
52
" ${DATABASE_NAME} " --opt --result-file=" ${OUTPUT_FILE} "
53
53
}
54
54
Original file line number Diff line number Diff line change 1
1
name : cmangos
2
2
services :
3
3
mariadb :
4
- image : mariadb:11.5
4
+ image : mariadb:11.8
5
5
environment :
6
- MYSQL_ROOT_PASSWORD : " ${MYSQL_SUPERPASS}"
6
+ MARIADB_ROOT_PASSWORD : " ${MYSQL_SUPERPASS}"
7
7
8
8
networks :
9
9
- default
You can’t perform that action at this time.
0 commit comments