Switching from YAML (file) to MySQL (DB)

GWorld v2 features intelligent migration systems that make transitioning from older versions or switching between storage media (files to database) as easy as possible.

Looking for information on migrating from v1 to v2? Then please follow this link: [Migration from v1-legacy to v2](https://books.gilljan.de/books/gworld-dokumentation-de/page/migration-von-v1-legacy-zu-v2 “Migration from v1-legacy to v2”)


Switching from YAML to MySQL

If you no longer want to store your world data locally in a file, but centrally in a MySQL database, GWorld v2 offers an automatic transfer service.

Steps for the changeover

  1. Stop your server.
  2. Open config.yml and set Storage.Type to MYSQL.

    If Storage.Type is missing, please update your config.yml. See: [Standard configuration files](https://books.gilljan.de/books/gworld-dokumentation-de/page/standard-konfigurationsdateien “Standard configuration files”)

  3. Enter your database access data in the MySQL section.
  4. Restart the server.

What happens at startup?


Security measures & requirements

To ensure a smooth migration, please note the following points:

Requirements

Checklist


This documentation refers to GWorld version 2.0.1.


Revision #2
Created 2026-02-09 18:14:35 UTC by Gilljan (Jannik)
Updated 2026-02-27 18:08:37 UTC by Gilljan (Jannik)