[Koha-devel] Occasional problems with koha-dump (LOCK TABLES)
dcook at prosentient.com.au
dcook at prosentient.com.au
Wed Feb 17 03:56:50 CET 2021
Hi all,
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:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS
privilege(s) for this operation' when trying to dump tablespaces
mysqldump: Got error: 1045: Access denied for user
'koha_<instance>'@'localhost' (using password: YES) when using LOCK TABLES
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.
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.
mysql> show grants for 'koha_<instance>'@'localhost';
+--------------------------------------------------------------------------+
| Grants for koha_<instance>@localhost
|
+--------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'koha_<instance>'@'localhost'
|
| GRANT ALL PRIVILEGES ON `koha_<instance>`.* TO
'koha_<instance>'@'localhost' |
+--------------------------------------------------------------------------+
Has anyone else had this problem?
David Cook
Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210217/0f2f504d/attachment.htm>
More information about the Koha-devel
mailing list