-
Notifications
You must be signed in to change notification settings - Fork 59
/
InstallDatabasesPreset.bat
83 lines (68 loc) · 1.93 KB
/
InstallDatabasesPreset.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
@echo off
REM -- To use this file, uncomment, change, or add any lines that you want. --
REM -- and run this file once those changes are completed.
REM set quickExecute=YES
IF NOT DEFINED quickExecute set quickExecute=NO
REM set skipPrintOS=YES
REM set skipChoices=YES
REM set skipConnection=YES
REM set DEBUG=YES
REM set dbClientHome=C:\Program Files\MySQL\MySQL Server 8.0\bin
REM set dbClientHome=C:\Program Files\MariaDB\bin
REM set dbClientName=mysql.exe
REM set dbClientName=mariadb.exe
REM set newuser=mangos
REM set user=root
REM set pass=mangos
REM set newpass=mangos
REM set port=3306
REM set wdb=mangos1
REM set wdborig=mangos1
REM set cdb=character1
REM set cdborig=character1
REM set rdb=realmd
REM set rdborig=realmd
REM set dbClientConnectionOptions=--login-path=local
REM set dbClientOtherOptions=-q -v
REM set dbClientConnectionString=
REM -- Specific settings to use after considering the defaults --
REM set createrealmDB=NO
REM set loadrealmDB=NO
REM set RDBUpdate=NO
REM set createMangosUser=NO
REM -- This line helps use default settings. --
GOTO Ready:
set createcharDB=NO
set createworldDB=NO
set createrealmDB=NO
set createMangosUser=NO
set loadcharDB=NO
set loadworldDB=NO
set loadrealmDB=NO
set CDBUpdate=NO
set WDBUpdate=NO
set RDBUpdate=NO
set addrealmentry=NO
set DBType=POPULATED
set activity=N
set locKO=NO
set locFR=NO
set locDE=NO
set locCH=NO
set locTW=NO
set locES=NO
set locMX=NO
set locRU=NO
set locIT=NO
set locPT=NO
set locBR=NO
:Ready
IF %quickExecute% == YES GOTO Execute:
set /p ready="Ready? (Y/<*>): "
IF NOT DEFINED ready set ready=N
if %ready% == Y GOTO EXECUTE:
if %ready% == y GOTO EXECUTE:
GOTO :EOF
:Execute
InstallDatabases.bat
pause