Bug 18564: Improve koha-common.cnf parsing to pick the mysql host
authorEric Vantillard <eric.vantillard@evaxion.fr>
Tue, 9 May 2017 21:10:21 +0000 (23:10 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Oct 2017 18:58:21 +0000 (15:58 -0300)
commit7ed705ea458d47d199b8f3e20572397d4697516a
tree02a0f4e96bf8fc27740468d3cd54545ec52190fb
parent850243ee2ec66a4b569d29ed84423f09c0001690
Bug 18564: Improve koha-common.cnf parsing to pick the mysql host

my koha-common.cnf is using this form:

[client]
host=db
user=root
password="move_rootpwd_to_dotenv"

this file is working has expected with mysql tools.

but koha-create parsing will not find the db host resulting in
koha-conf.xml containing no values in hostname element.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
debian/scripts/koha-create