# Migrate keyring keys from enterprise mysql 5.7 to Percona 8.4.3 mysql component key ring

**URL:** <https://forums.percona.com/t/migrate-keyring-keys-from-enterprise-mysql-5-7-to-percona-8-4-3-mysql-component-key-ring/37028>\
**Category:** MySQL & MariaDB\
**Tags:** mysql, percona\
**Created:** [March 4, 2025, 2:45am UTC](https://forums.percona.com/t/migrate-keyring-keys-from-enterprise-mysql-5-7-to-percona-8-4-3-mysql-component-key-ring/37028 "2025-03-04T02:45:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![perconaplanet](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@perconaplanet](https://forums.percona.com/u/perconaplanet)\
**Post date:** [March 4, 2025, 2:45am UTC](https://forums.percona.com/t/migrate-keyring-keys-from-enterprise-mysql-5-7-to-percona-8-4-3-mysql-component-key-ring/37028/1 "2025-03-04T02:45:19Z")

</div>

how do we migrate the keyring key from enterprise mysql 5.7 to Percona 8.4.3 mysql component keyring i.e. copy keys from one keystore to another. taking a mysql dump of 5.7 and importing into 8.4.3 works as new keys are generated through component keyring,

but the ask is, first migrate the keyring key to 8.4.3, then transfer mysql data directory from 5.7 to 8.4.3 (both are remote and data size is huge, but easier to copy than mysqldump option), apply required permissions and restarting 8.4.3 should work seamlessly. in this, tried couple of options to migrate the keys using mysqld and mysql\_migrate\_keyring. mysqld (8.4.3, and the component\_keyring\_file.so is there in plugin directory) reported an error saying;

**Can’t find symbol ‘_mysql\_plugin\_interface\_version_’ in library.**  
**Couldn’t load plugin named ‘component\_keyring\_file.so’ with soname ‘component\_keyring\_file.so’.**

the command is.  
mysqld --defaults-file=/etc/keyring.cnf --keyring-migration-source=keyring\_file.so --keyring-migration-destination=component\_keyring\_file.so --user=mysql
