aboutsummaryrefslogtreecommitdiffstats
path: root/docs/install/database.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/install/database.md')
-rw-r--r--docs/install/database.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/install/database.md b/docs/install/database.md
index f282c8985..5b5ffa19f 100644
--- a/docs/install/database.md
+++ b/docs/install/database.md
@@ -12,14 +12,15 @@ title: Database troubleshooting
At this point you might need to configure PostgreSQL to allow password-based
access to the `fms` database as the user `fms` from using Unix-domain sockets.
-Edit the file `/etc/postgresql/8.4/main/pg_hba.conf` and add as the
-first line:
+Edit the file `/etc/postgresql/9.6/main/pg_hba.conf` (note that the version
+number in this path will vary depending on the version of Debian you are
+using) and add as the first line:
local fms fms md5
You will then need to restart PostgreSQL with:
- $ sudo /etc/init.d/postgresql restart
+ $ sudo service postgresql restart
If you want to access the database from the command line, you can add
the following line to `~/.pgpass`: