Bug 21827

Summary: koha-mysql does not recognize non-standard port
Product: Koha Reporter: Galen Charlton <gmcharlt>
Component: PackagingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: mirko
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Galen Charlton 2018-11-13 17:02:25 UTC
The koha-mysql script provided with the Debian package currently does not check the <port> element in koha-conf.xml. Consequently, if one uses a non-standard port number for MySQL, koha-mysql cannot connect to the database even though Koha itself can.

Teaching koha-mysql how to pass --port to the mysql command would fix it.

I note that if/when the patches for bug 11974 make it in, it would be useful to also teach koha-mysql how to pass --socket.