PostgreSQL
Connecting to PostgreSQL to share one house across servers.
storage {
type = "postgresql"
host = "db.example.net"
port = 0 # 0 is 5432
database = "minecraft"
username = "auction"
password = "secret"
}
| Key | Meaning |
|---|---|
type | postgresql. The driver is downloaded on the first start |
host, port | The database server; port 0 is 5432 |
database | The database, which must exist |
username, password | A user that may create tables in the database's default schema |
Everything else, the prefix and the pool, reads as for MySQL and MariaDB. To bring an existing SQLite file across, see Moving off SQLite.
Related: Overview
Was this page helpful?