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 16, 2023
1 parent e6799a9 commit 5107e78
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions docs/Installing.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,12 @@ 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]
openQA uses PostgreSQL as database. By default, a database with name `openqa`
and `geekotest` user as owner is used. An automatic setup of a freshly
installed PostgreSQL instance can be done using https://github.com/os-autoinst/openQA/blob/master/script/setup-db[this script].
The database connection can be configured in `/etc/openqa/database.ini`
(normally the `[production]` section is relevant). More info about the `dsn`
value format can be found in the https://metacpan.org/pod/DBD::Pg#DBI-Class-Methods[DBD::Pg documentation].

==== Example for connecting to local PostgreSQL database

Expand Down

0 comments on commit 5107e78

Please sign in to comment.