You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
16. If the Mattermost server is on a separate machine, modify the file ``pg_hbe.conf`` to allow the Mattermost server to communicate with the database.
82
+
16. If the Mattermost server is on a separate machine, modify the file ``pg_hba.conf`` to allow the Mattermost server to communicate with the database.
76
83
77
84
If the Mattermost server and the database are on the same machine, then you can skip this step.
78
85
79
-
a. Open ``/etc/postgresql/9.4/main/pg_hba.conf`` in a text editor.
86
+
a. Open ``/var/lib/pgsql/9.4/data/pg_hba.conf`` in a text editor.
80
87
81
88
b. Add the following line to the end of the file, where *<mm-server-IP>* is the IP address of the machine that contains the Mattermost server.
82
89
83
90
``host all all <mm-server-IP>/32 md5``
84
91
85
92
17. Reload Postgres database
86
93
87
-
``sudo systemctl reload postgresql``
94
+
``sudo systemctl reload postgresql-9.4``
88
95
89
96
18. Verify that you can connect with the user *mmuser*.
0 commit comments