Bug 21827 - koha-mysql does not recognize non-standard port
Summary: koha-mysql does not recognize non-standard port
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-13 17:02 UTC by Galen Charlton
Modified: 2018-11-13 17:02 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:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.