Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I was going to ask a question on the stack overflow thing, but I am not quite sure how to frame the

[DiscordArchive] I was going to ask a question on the stack overflow thing, but I am not quite sure how to frame the

[DiscordArchive] I was going to ask a question on the stack overflow thing, but I am not quite sure how to frame the

rektbyfaith
Administrator
0
08-18-2022, 10:04 PM
#1
Archived author: ☣⊲H≡R⌀IC⊳☣ • Posted: 2022-08-18T22:04:02.269000+00:00
Original source

I was going to ask a question on the stack overflow thing, but I am not quite sure how to frame the question. I've tried googling the solution because I couldn't find instruction on the Azerothcore wiki and this is my first time setting up a private server that isn't a repack. But basically how do I make a MySQL.bat with my database?
rektbyfaith
08-18-2022, 10:04 PM #1

Archived author: ☣⊲H≡R⌀IC⊳☣ • Posted: 2022-08-18T22:04:02.269000+00:00
Original source

I was going to ask a question on the stack overflow thing, but I am not quite sure how to frame the question. I've tried googling the solution because I couldn't find instruction on the Azerothcore wiki and this is my first time setting up a private server that isn't a repack. But basically how do I make a MySQL.bat with my database?

rektbyfaith
Administrator
0
08-18-2022, 10:17 PM
#2
Archived author: Revision • Posted: 2022-08-18T22:17:47.742000+00:00
Original source

I don't understand the question.
rektbyfaith
08-18-2022, 10:17 PM #2

Archived author: Revision • Posted: 2022-08-18T22:17:47.742000+00:00
Original source

I don't understand the question.

rektbyfaith
Administrator
0
08-18-2022, 10:23 PM
#3
Archived author: Honey • Posted: 2022-08-18T22:23:19.051000+00:00
Original source

I think they try to use AC as a repack. There is no batch file required. mySQL should be running as a service anyway on your machine if you followed the guide.
rektbyfaith
08-18-2022, 10:23 PM #3

Archived author: Honey • Posted: 2022-08-18T22:23:19.051000+00:00
Original source

I think they try to use AC as a repack. There is no batch file required. mySQL should be running as a service anyway on your machine if you followed the guide.

rektbyfaith
Administrator
0
08-18-2022, 10:27 PM
#4
Archived author: ☣⊲H≡R⌀IC⊳☣ • Posted: 2022-08-18T22:27:06.858000+00:00
Original source

I followed the whole guide, yes. But basically, also yes, I would like to create the repack-like mysql.bat so that I can give this server to my friend and he can run it like a repack.
rektbyfaith
08-18-2022, 10:27 PM #4

Archived author: ☣⊲H≡R⌀IC⊳☣ • Posted: 2022-08-18T22:27:06.858000+00:00
Original source

I followed the whole guide, yes. But basically, also yes, I would like to create the repack-like mysql.bat so that I can give this server to my friend and he can run it like a repack.

rektbyfaith
Administrator
0
08-18-2022, 10:28 PM
#5
Archived author: Honey • Posted: 2022-08-18T22:28:32.445000+00:00
Original source

Sorry, we don't use that approach and i wouldn't know how to achieve that.
rektbyfaith
08-18-2022, 10:28 PM #5

Archived author: Honey • Posted: 2022-08-18T22:28:32.445000+00:00
Original source

Sorry, we don't use that approach and i wouldn't know how to achieve that.

rektbyfaith
Administrator
0
08-18-2022, 10:29 PM
#6
Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2022-08-18T22:29:30.285000+00:00
Original source

like just export the sql database to a file? isnt that just ```msqldump >filepathhere```
rektbyfaith
08-18-2022, 10:29 PM #6

Archived author: Ĝ̷̳r̸̹͊a̷̜̚k̴̞̔ • Posted: 2022-08-18T22:29:30.285000+00:00
Original source

like just export the sql database to a file? isnt that just ```msqldump >filepathhere```

rektbyfaith
Administrator
0
08-18-2022, 10:35 PM
#7
Archived author: 郑佩茹 • Posted: 2022-08-18T22:35:24.945000+00:00
Original source

Yes, it is possible to distribute this way the server. You will need to copy the MySQL installation and the Database dir to your folder, and then you could start it with a bat file like this (change the paths to match wherever you move the server and data):
```
@echo off
start "" ".\MySQL Server 5.7\bin\mysqld.exe" --defaults-file=".\MySQL Server 5.7\my.ini" --datadir=".\MySQL Server 5.7\Data" --console
timeout /t 1
start authserver.exe
start worldserver.exe
exit 0
```
rektbyfaith
08-18-2022, 10:35 PM #7

Archived author: 郑佩茹 • Posted: 2022-08-18T22:35:24.945000+00:00
Original source

Yes, it is possible to distribute this way the server. You will need to copy the MySQL installation and the Database dir to your folder, and then you could start it with a bat file like this (change the paths to match wherever you move the server and data):
```
@echo off
start "" ".\MySQL Server 5.7\bin\mysqld.exe" --defaults-file=".\MySQL Server 5.7\my.ini" --datadir=".\MySQL Server 5.7\Data" --console
timeout /t 1
start authserver.exe
start worldserver.exe
exit 0
```

rektbyfaith
Administrator
0
08-18-2022, 10:36 PM
#8
Archived author: 郑佩茹 • Posted: 2022-08-18T22:36:08.218000+00:00
Original source

You maybe will need to make some small path adjustments in the MySQL INI files to match the relative paths.
rektbyfaith
08-18-2022, 10:36 PM #8

Archived author: 郑佩茹 • Posted: 2022-08-18T22:36:08.218000+00:00
Original source

You maybe will need to make some small path adjustments in the MySQL INI files to match the relative paths.

rektbyfaith
Administrator
0
08-18-2022, 10:36 PM
#9
Archived author: ☣⊲H≡R⌀IC⊳☣ • Posted: 2022-08-18T22:36:44.506000+00:00
Original source

Thank you <@611636452455088128> , I will give this a try ^^
rektbyfaith
08-18-2022, 10:36 PM #9

Archived author: ☣⊲H≡R⌀IC⊳☣ • Posted: 2022-08-18T22:36:44.506000+00:00
Original source

Thank you <@611636452455088128> , I will give this a try ^^

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)