Skip to content
Snippets Groups Projects
Commit 76e26bc1 authored by Goik Martin's avatar Goik Martin
Browse files

Postgresql config

parent 5480cf28
No related branches found
No related tags found
No related merge requests found
......@@ -213,9 +213,16 @@
linkends="sda1_fig_postgresqlInstallUserPW-1"
xml:id="sda1_fig_postgresqlInstallUserPW-1-co"/>
#> su - postgres -c "createuser --interactive"
Enter name of role to add: hdmuser
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n
su - postgres -c "PGPASSWORD=XYZ createdb --owner hdmuser hdm" <co
linkends="sda1_fig_postgresqlInstallUserPW-2"
xml:id="sda1_fig_postgresqlInstallUserPW-2-co"/>
alter role hdmuser WITH PASSWORD 'XYZ';
PGPASSWORD=XYZ psql -h localhost --username=hdmuser -d hdm <co
linkends="sda1_fig_postgresqlInstallUserPW-3"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment