SkinsRestorer LogoSkinsRestorer

Database configuration

Exact keys, types, and defaults for database configuration.

SkinsRestorer 15.12.6All platformsReviewed

These values describe SkinsRestorer 15.12.6. Keys are case-sensitive. Defaults describe a new installation, not your existing configuration.

For a task-based guide, read the related procedure.

Keys and defaults

KeyTypeDefaultMeaning
database.connectionOptionsstring"sslMode=trust&serverTimezone=UTC"Driver connection options. Choose values appropriate for the database and TLS policy.
database.databasestring"db"SQL database name.
database.hoststring"localhost"SQL server hostname or address.
database.maxPoolSizeinteger10Maximum pooled connections per instance, from 1 to 1000.
database.passwordstring"pass"SQL login password. Replace the default before use.
database.portinteger3306SQL server port, from 1 to 65535. PostgreSQL usually uses 5432.
database.tablePrefixstring"sr_"Prefix for SkinsRestorer tables. Match it across shared instances.
database.typeenum"FILE"Storage backend: FILE, MYSQL, or POSTGRESQL. Restart required.
database.usernamestring"root"SQL login username.

Source and reload behavior

Edit the existing section in the active config.yml. Use /sr reload for ordinary behavior changes. Restart after storage, proxy detection, or command registration changes.

Did this page help?

Last updated on

On this page