<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=us-ascii"><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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        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="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I was testing koha-dump on a new Ubuntu 18.04 server I put together, and I noticed that 2 out of 3 instances were failing to dump. Here are the errors:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces<o:p></o:p></p><p class=MsoNormal>mysqldump: Got error: 1045: Access denied for user 'koha_<instance>'@'localhost' (using password: YES) when using LOCK TABLES<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The first isn’t really relevant. The key one is the second one. You can workaround it by adding “--single-transaction” to mysqldump in koha-dump, but I’m still intrigued why it only happened to 2 out of 3 instances on that server.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I haven’t seen this issue on other 18.04 servers either. All the permissions and what not were the same across the instances, the database connections were sleeping, etc. Nothing made sense. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>mysql> show grants for 'koha_<instance>'@'localhost';<o:p></o:p></p><p class=MsoNormal>+--------------------------------------------------------------------------+<o:p></o:p></p><p class=MsoNormal>| Grants for koha_<instance>@localhost                                       |<o:p></o:p></p><p class=MsoNormal>+--------------------------------------------------------------------------+<o:p></o:p></p><p class=MsoNormal>| GRANT USAGE ON *.* TO 'koha_<instance>'@'localhost'                        |<o:p></o:p></p><p class=MsoNormal>| GRANT ALL PRIVILEGES ON `koha_<instance>`.* TO 'koha_<instance>'@'localhost' |<o:p></o:p></p><p class=MsoNormal>+--------------------------------------------------------------------------+<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Has anyone else had this problem?<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>Suite 7.03<o:p></o:p></p><p class=MsoNormal>6a Glen St<o:p></o:p></p><p class=MsoNormal>Milsons Point NSW 2061<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></body></html>