[SOLVED] Connect mattermost to Postgresql

The correct URI to write in config.json is the following one:

 "postgres:///mattermost_db?host=/run/postgresql"

where mattermost_db is the database name and /run/postgresql the directory of Postgresql unix socket is.

1 Like