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
| Key | Type | Default | Meaning |
|---|---|---|---|
database.connectionOptions | string | "sslMode=trust&serverTimezone=UTC" | Driver connection options. Choose values appropriate for the database and TLS policy. |
database.database | string | "db" | SQL database name. |
database.host | string | "localhost" | SQL server hostname or address. |
database.maxPoolSize | integer | 10 | Maximum pooled connections per instance, from 1 to 1000. |
database.password | string | "pass" | SQL login password. Replace the default before use. |
database.port | integer | 3306 | SQL server port, from 1 to 65535. PostgreSQL usually uses 5432. |
database.tablePrefix | string | "sr_" | Prefix for SkinsRestorer tables. Match it across shared instances. |
database.type | enum | "FILE" | Storage backend: FILE, MYSQL, or POSTGRESQL. Restart required. |
database.username | string | "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