Skip to content

Commit

Permalink
Merge pull request #5362 from asmorodskyi/db_readme
Browse files Browse the repository at this point in the history
Update documentation about manual setup of PostgreSQL
  • Loading branch information
mergify[bot] authored Nov 16, 2023
2 parents f9413b1 + 5107e78 commit bd7bf1d
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 bd7bf1d

Please sign in to comment.