Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ this:
"dbname" => "nextcloud",
"dbuser" => "username",
"dbpassword" => "",
"dbhost" => "/var/run/postgresql",
"dbhost" => "localhost:/var/run/postgresql",
"dbtableprefix" => "oc_",

.. note:: The host actually points to the socket that is used to connect to the database. Using localhost here will not work if postgreSQL is configured to use peer authentication. Also note that no password is specified, because this authentication method doesn't use a password.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ Your host server name, for example ``localhost``, ``hostname``,
``hostname.example.com``, or the IP address.

To specify a port use ``hostname:####``, for IPv6 addresses use the URI notation ``[ip]:port``.
To specify a Unix socket use ``/path/to/directory/containing/socket``, e.g. ``/run/postgresql/``.
To specify a Unix socket use ``localhost:/path/to/directory/containing/socket`` or ``:/path/to/directory/containing/socket``, e.g. ``localhost:/run/postgresql/``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nickvergessen, I opened a new PR : nextcloud/server#53327

Guess that will be sufficient ?


dbname
^^^^^^
Expand Down