[Koha-bugs] [Bug 18564] New: kola-common.cnf parsing is too restrictive
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 9 21:09:18 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18564
Bug ID: 18564
Summary: kola-common.cnf parsing is too restrictive
Change sponsored?: ---
Product: Koha
Version: 16.11
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Installation and upgrade (command-line installer)
Assignee: gmcharlt at gmail.com
Reporter: eric.vantillard at evaxion.fr
QA Contact: testopia at bugs.koha-community.org
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.
as a result trying to connect to the web serveur will raise an error :
Software error:
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect
to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1490. at
/usr/share/koha/lib/Koha/Database.pm line 90
Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl
line 31.
BEGIN failed--compilation aborted at
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 31.
For help, please send mail to the webmaster ([no address given]), giving this
error message and the time and date of the error.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list