Skip to content

Commit

Permalink
Update documentation about manual setup of PostgreSQL
Browse files Browse the repository at this point in the history
1. Remove mentioning of version from which PostgreSQL is supported ( this was introduced
so many years ago so no really find version which does not support it)
2. Explicitly state requirements of PostgreSQL setup
  • Loading branch information
asmorodskyi committed Nov 15, 2023
1 parent e6799a9 commit 199de2b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions docs/Installing.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,11 @@ httpsonly = 0
[[database]]
=== Database

Since version _4.5.1512500474.437cc1c7_ of openQA, PostgreSQL is used as the
database.

To configure access to the database in openQA, edit `/etc/openqa/database.ini`
and change the settings in the `[production]` section.

The `dsn` value format technically depends on the database type and is
documented for PostgreSQL at
https://metacpan.org/pod/DBD::Pg#DBI-Class-Methods[DBD::Pg]
PostgreSQL used by openQA suppose to have database with name `openqa` and
`geekotest` user as owner of this database. Automatic setup of freshly installed
PostgreSQL instance can be done using https://github.com/os-autoinst/openQA/blob/master/script/setup-db[this script].
Connection to database configured in `/etc/openqa/database.ini` in `[production]`
section. More info about `dsn` value format you can find in https://metacpan.org/pod/DBD::Pg#DBI-Class-Methods[DBD::Pg].

==== Example for connecting to local PostgreSQL database

Expand Down

0 comments on commit 199de2b

Please sign in to comment.