Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation about manual setup of PostgreSQL #5362

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update documentation about manual setup of PostgreSQL
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
asmorodskyi committed Nov 16, 2023
commit 5107e780f9b079f414b54a55974a7e7bd506814b
15 changes: 6 additions & 9 deletions docs/Installing.asciidoc
Original file line number Diff line number Diff line change
@@ -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