<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>I don’t think I run any vanilla Koha installs on Debian/Ubuntu, but what do you have for “host” in /etc/mysql/koha-common.cnf?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All my instances have an external DB there. (I think I’ve had to modify the Debian koha-* scripts to play nicely with an external database…)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>David Cook<o:p></o:p></p><p class=MsoNormal>Software Engineer<o:p></o:p></p><p class=MsoNormal>Prosentient Systems<o:p></o:p></p><p class=MsoNormal>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal>Australia<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal>Online: 02 8005 0595<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Koha-devel <koha-devel-bounces@lists.koha-community.org> <b>On Behalf Of </b>Indranil Das Gupta<br><b>Sent:</b> Tuesday, 17 November 2020 10:57 PM<br><b>To:</b> Koha-devel <koha-devel@lists.koha-community.org><br><b>Subject:</b> [Koha-devel] getmysqlhost() function not fetching / setting the hostname in koha-conf.xml<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi devs,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>A followup to my earlier post <a href="https://lists.koha-community.org/pipermail/koha-devel/2020-November/046112.html">https://lists.koha-community.org/pipermail/koha-devel/2020-November/046112.html</a><br><br>I found that the function getmysqlhost() in the koha-create bash script wasn't able to set the hostname in the koha-conf.xml.<br><br>My /etc/mysql/debian.cnf contains - # Automatically generated for Debian scripts. DO NOT TOUCH!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>And /etc/mysql/koha-common.cnf is symlinked to /etc/mysql/koha-common.cnf<br><br>I have MariaDB 10.5 installed from MariaDB repo on Debian 10.<br><br>Am i missing something or is it a bug?<o:p></o:p></p></div><div><p class=MsoNormal>-- <o:p></o:p></p></div><div><div><div><div><p class=MsoNormal>Indranil Das Gupta<br>L2C2 Technologies<br><br>Phone : +91-98300-20971<o:p></o:p></p></div><div><p class=MsoNormal>WWW : <a href="http://www.l2c2.co.in" target="_blank">http://www.l2c2.co.in</a><br>Blog    : <a href="http://blog.l2c2.co.in" target="_blank">http://blog.l2c2.co.in</a><br>IRC     : indradg on irc://<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a><br>Twitter : indradg<o:p></o:p></p></div></div></div></div></div></div></body></html>