From 5fc48d23b30c48ee03ae0bb62d19b54847e7883e Mon Sep 17 00:00:00 2001 From: Keleborn <22352763+Celandriel@users.noreply.github.com> Date: Tue, 9 Jun 2026 11:23:45 -0700 Subject: [PATCH] Fix mysql --- Installation-Guide.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Installation-Guide.md b/Installation-Guide.md index 2209bea..734d09a 100644 --- a/Installation-Guide.md +++ b/Installation-Guide.md @@ -188,10 +188,20 @@ If you already have a working AzerothCore server and want to add `mod-playerbots ``` 6. **Import playerbots SQL files** if the auto-updater doesn't handle them: - ```bash - mysql -u acore -p acore_characters < modules/mod-playerbots/sql/characters/base/playerbots_characters.sql - mysql -u acore -p acore_world < modules/mod-playerbots/sql/world/base/playerbots_world.sql - ``` +``` +bash +# From the azerothcore-wotlk directory + +# 1. Import the playerbots additions to acore_characters +for f in modules/mod-playerbots/data/sql/characters/base/*.sql; do + mysql -u acore -p acore_characters < "$f" +done + +# 2. Import the playerbots additions to acore_world +for f in modules/mod-playerbots/data/sql/world/base/*.sql; do + mysql -u acore -p acore_world < "$f" +done +``` 7. **Update your configuration files.** New `.conf.dist` files may contain additional settings after the rebuild. Compare them with your existing `.conf` files and merge any new entries. Then follow [Step 4: Configure Playerbots](#4-configure-playerbots) above.