Workaround for Bug 22826073 - 1556 when trying to mysqldump view of log tables

(Doc ID 2110455.1)

Last updated on JUNE 12, 2016

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.


Workaround for Bug 22826073

mysqldump: Got error: 1556: You can't use locks with log tables. when using LOCK TABLES

when a view exists referencing mysql.slow_log or mysql.general_log


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms