Bug 26637

Summary: Missing guide to use remote pre-created database
Product: Koha Reporter: Josef Hák <pepa.hak>
Component: DocumentationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart
Version: 20.05   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Josef Hák 2020-10-08 21:20:14 UTC
Hey,
 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.

Thanks
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