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 JULY 11, 2018

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.

Symptoms

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:

 

Changes

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.

Cause

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