A self-contained PHP 8.x web tool for migrating character data between MaNGOS Zero (Vanilla) character databases. This project implements the migration logic in application code with a clean UI for selecting realms, previewing changes, and executing migrations.
- ✅ MaNGOS Zero (Vanilla) character databases only
- ❌ Not yet tested/validated for TBC/WotLK branches or other cores
As additional cores are supported, the migration table set and rules may be expanded or made selectable by “core profile.”
- Multiple character databases (“realms”) selectable in the UI
- Single-character migration or full migration (all characters)
- Preview step shows the character snapshot and planned identifiers before execution
- Collision-aware GUID mapping (new GUID allocation per destination state)
- Rename detection: if the character name already exists in the destination DB, the tool forces rename on next login (
at_loginflag) - Per-character transactions with stop-on-first-failure behavior for batch runs
- PHP 8.1+ (PHP 8.2+ recommended)
- PHP extensions:
pdopdo_mysql
- MySQL/MariaDB user with:
- read access to the From database
- write access to the To database
- Place the project in your web root (or any folder).
- Copy configuration:
- Duplicate
config/config.php.dist→config/config.php
- Duplicate
- Edit
config/config.phpand define your character DB profiles (realms). - Start the development server:
cd public php -S 127.0.0.1:8080 - Open:
http://127.0.0.1:8080
This tool is intended for trusted/internal use only.
Recommended protections:
- Run behind a firewall/VPN
- Add HTTP Basic Auth (or reverse proxy auth)
- Use a least-privilege DB user (do not reuse your production admin credentials)
- The migration logic assumes the destination schema matches the source schema for all migrated tables.
- If your schema differs (missing/extra columns), inserts may fail.
- If you customize schemas, update the relevant insert/column lists in the migration service.
This tool migrates character-owned data from the From characters DB to the To characters DB.
Tables currently included (MaNGOS Zero Vanilla set):
characterscorpsecharacter_actioncharacter_auracharacter_battleground_datacharacter_giftscharacter_homebindcharacter_honor_cpcharacter_instancecharacter_inventorycharacter_petcharacter_queststatuscharacter_reputationcharacter_skillscharacter_spellcharacter_spell_cooldowncharacter_statsitem_instancepet_aura,pet_spell,pet_spell_cooldown
- Select From and To character databases (realms)
- Choose:
- Single character (select by name/GUID)
or - All characters
- Single character (select by name/GUID)
- Review the Preview
- Execute migration
- Review the Results report
- Only supports MaNGOS Zero (Vanilla) at this time.
- Supports MaNGOS One (TBC) partially and needs testing.
- Not intended as a public-facing tool.
- Not optimized for massive scale; designed for accuracy and safety.
Add your project license information here (if applicable), or reference the repository license file.