My Oracle Support Banner

During Keyring Migration or Backup of Transparent Data Encryption (TDE) Tables: "[ERROR] Plugin keyring_file reported: 'File '/var/lib/mysql-keyring/keyring' not found (Errcode: 13 - Permission denied)'" (Doc ID 2422032.1)

Last updated on APRIL 29, 2019

Applies to:

MySQL Server - Version 5.7 and later
MySQL Enterprise Backup - Version 4.1 and later
Information in this document applies to any platform.


When you try to use the keyring migration feature (see also <Note 2348658.1>), or you are creating a backup with MySQL Enterprise Backup (MEB) 4.1.1/8.0.11 or later of tables using transparent data encryption (TDE), the migration fails with a permission denied error, for example:



The issue may start after upgrading MySQL Enterprise Backup to version 4.1.1/8.0.11 or later and MySQL Server to version 5.7.21/8.0.11 or later (but earlier than 5.7.26/ 8.0.15).


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.