[Koha-bugs] [Bug 23141] The Debian scripts do not use the myql portnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 18 02:26:02 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23141

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 90689
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90689
Bug 23141: Add mysql portnumber support when populating db

Review of attachment 90689:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=23141&attachment=90689)
-----------------------------------------------------------------

::: debian/scripts/koha-create
@@ +694,4 @@
>      # something.
>      mysqluser=$(getinstancemysqluser $name)
>      mysqldb=$(getinstancemysqldatabase $name)
> +    mysqlhost=$(getinstancemysqlhost $name)

No. Because the logic for determining the mysqlhost is at the top of the script
(542-576 approx). Command line over rides password file over rides the "host"
listed in the mysql [client] section. Now, perhaps in the case of populate, we
should insert an override based on the koha-conf.xml file, but it doesn't
belong here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list