Bug 26637 - Missing guide to use remote pre-created database
Summary: Missing guide to use remote pre-created database
Alias: None
Product: Koha
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 20.05
Hardware: All Linux
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
Depends on:
Reported: 2020-10-08 21:20 UTC by Josef Hák
Modified: 2021-06-14 21:29 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Josef Hák 2020-10-08 21:20:14 UTC
 when installing Koha I need it to use existing remote MariaDB database instance with defined access data, e.g.:

- database host: mydb
- database user: myuser
- database user-password: passwd

In the documentation I found I should use command
koha-create --request-db <lib-name> ... for that but I miss some example.

For that command there are options --dbhost which really modified generated .txt file. But I don't know, how to set password. Koha still generates password randomly I need to force my password.

Setting --adminuser didn't changed username in request .txt file. Password could be possible to change using --passwdfile but it's not described which format of passwdfile is expected.

Comment 1 Katrin Fischer 2020-10-10 20:21:37 UTC
Please consider asking your questions on the mailing list - I think people will be able to help you there.
Comment 2 Jonathan Druart 2020-10-12 08:41:32 UTC
Josef, this section of the wiki should answer your question: https://wiki.koha-community.org/wiki/Install_and_Setup_Koha_to_use_Git_on_a_Development_Server#Appendix_A