[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
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?
Archived author: Revision • Posted: 2022-08-18T22:17:47.742000+00:00
Original source
I don't understand the question.
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.
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.
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.
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```
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
```
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.
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 ^^