Fix mysql

Keleborn 2026-06-09 11:23:45 -07:00
parent a291e32c25
commit 5fc48d23b3

@ -188,9 +188,19 @@ 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: 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 bash
mysql -u acore -p acore_world < modules/mod-playerbots/sql/world/base/playerbots_world.sql # 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. 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.