The mysql: section remains unchanged and continues to work exactly as before.
Technical Fixes
Schema initialization: Table creation is now synchronous, eliminating a potential race condition where the plugin could attempt to read data before tables existed (affected first startup with an empty database).
Improved connection pool: Internally refactored to be generic and reusable between MySQL and PostgreSQL, with the same performance parameters.
Backward Compatibility
Users with storage.type: yaml → No changes, works exactly the same.
Users with storage.type: mysql → No changes, works exactly the same.
No action required when upgrading from v2.2 to v2.3.
The libs/ folder is only created automatically if a driver needs to be downloaded.
Notes for Server Administrators
If your server already includes the MySQL driver (most Spigot/Paper builds do), nothing will be downloaded.
For PostgreSQL, the driver will be automatically downloaded on first use (~1MB).
If your server blocks outbound connections, you can manually download the driver and place it in plugins/PrivateChestPlus/libs/.
Migration between backends is one-directional per execution. To migrate from MySQL to PostgreSQL, run the migration and then change storage.type in config.