Update modules/ROOT/pages/postgresql.adoc

This commit is contained in:
niko d 2021-12-31 09:15:50 +00:00
parent 8db8c1dba2
commit 9041b5d10e

View file

@ -80,8 +80,8 @@ psql carl
.... ....
[[configuration]] [[initial configuration]]
== Configuration == Initial Configuration
The postgresql server is using two main configuration files The postgresql server is using two main configuration files
@ -94,16 +94,8 @@ If youre getting ident errors from your app youll probably need to perform
sudo gedit /var/lib/pgsql/data/pg_hba.conf sudo gedit /var/lib/pgsql/data/pg_hba.conf
.... ....
and edit and edit `host all all 127.0.0.1/32 ident` to `host all all 127.0.0.1/32 md5`. This should allow most applications to connect with username/password.
....
host all all 127.0.0.1/32 ident
....
to
....
host all all 127.0.0.1/32 md5
....
[[upgrade]] [[upgrade]]
== Upgrade == Upgrade
@ -194,6 +186,14 @@ host:
setsebool -P httpd_can_network_connect_db on setsebool -P httpd_can_network_connect_db on
.... ....
[[configuration]]
== Configuration
As mentioned above, the postgresql server is using two main configuration files
* /var/lib/pgsql/data/postgresql.conf
* /var/lib/pgsql/data/pg_hba.conf
[[systemd]] [[systemd]]
=== systemd === systemd