Bug #120410 MySQL Enterprise Backup fails on Windows when using component_keyring_aws
Submitted: 6 May 12:31
Reporter: Tomas ValinĨius Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:9.7 OS:Windows (Windows Server 2022)
Assigned to: CPU Architecture:Any

[6 May 12:31] Tomas ValinĨius
Description:
MySQL server has component_keyring_aws installed and working.
When running mysqlbackup it fails with error:
[ERROR] [MY-010900] [Server] Can't find symbol '_mysql_plugin_interface_version_' in library.

It seems its trying to load plugin, but I am using component, not plugin.

How to repeat:
1. Have MySQL 9.7 up and running with component_keyring_aws installed.
2. Run backup command:
mysqlbackup
--backup-dir D:\MySQL_Backups
--host=127.0.0.1
--user=mysqlbackup
--password=xxx
--encrypt-password=xxx
--backup-image=D:\MySQL_Backups\backup.mbi
backup-to-image

3. Observe log:
260506 15:13:49 MAIN     INFO: Establishing connection to server.
260506 15:13:49 MAIN     INFO: No SSL options specified.
260506 15:13:49 MAIN     INFO: MySQL server version is '9.7.0-commercial'
260506 15:13:49 MAIN     INFO: MySQL server compile os version is 'Win64'
260506 15:13:49 MAIN     INFO: SSL/TLS version used for connection is TLSv1.3
260506 15:13:50 MAIN     INFO: Got some server configuration information from running server.

260506 15:13:50 MAIN     INFO: Establishing connection to server for locking.
260506 15:13:50 MAIN     INFO: No SSL options specified.
260506 15:13:50 MAIN     INFO: Backup directory exists: 'D:\MySQL_Backups'
260506 15:13:50 MAIN     INFO: MySQL server version_comment is 'MySQL Enterprise Server - Commercial'
260506 15:13:50 MAIN     INFO: Mysqlbackup component not installed.
260506 15:13:50 MAIN     INFO: MEB logfile created at D:\MySQL_Backups\meta\MEB_2026-05-06.15-13-50_backup-to-image.log

260506 15:13:50 MAIN     INFO: The server's active keyring is 'component_keyring_aws'.
260506 15:13:50 MAIN     INFO: The keyring migration tool is located at 'C:/Program Files/MySQL/MySQL Server 9.7/mysqld.exe'.
260506 15:13:50 MAIN     INFO: The keyring migration tool is located at 'C:/Program Files/MySQL/MySQL Server 9.7/bin/mysqld.exe'.
260506 15:13:50 MAIN     INFO: Keyring migration tool execution complete.
260506 15:13:50 MAIN     INFO: Version of C:/Program Files/MySQL/MySQL Server 9.7/bin/mysqld.exe is 9.7.0-commercial.
260506 15:14:16 MAIN     INFO: Keyring migration tool execution complete.
260506 15:14:16 MAIN    ERROR: Keyring migration error, exited with status: 1
260506 15:14:16 MAIN    ERROR: Error response from tool:
>>>
2026-05-06T12:13:50.437620Z 0 [Warning] [MY-000057] [Server] Using a password on the command line interface can be insecure.
2026-05-06T12:13:50.437629Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2026-05-06T12:14:14.756609Z 0 [System] [MY-010116] [Server] C:/Program Files/MySQL/MySQL Server 9.7/bin/mysqld.exe (mysqld 9.7.0-commercial) starting as process 8080
2026-05-06T12:14:14.756619Z 0 [System] [MY-015603] [Server] MySQL Server has access to 48 logical CPUs.
2026-05-06T12:14:14.756625Z 0 [System] [MY-015603] [Server] MySQL Server has access to 274515378176 bytes of physical memory.
2026-05-06T12:14:16.828175Z 0 [ERROR] [MY-010900] [Server] Can't find symbol '_mysql_plugin_interface_version_' in library.
2026-05-06T12:14:16.828193Z 0 [ERROR] [MY-010736] [Server] Couldn't load plugin named 'component_keyring_aws.dll' with soname 'component_keyring_aws.dll'.
2026-05-06T12:14:16.828204Z 0 [ERROR] [MY-013106] [Server] Can not perform keyring migration : Failed to load source keyring plugin..
2026-05-06T12:14:16.828211Z 0 [ERROR] [MY-013106] [Server] Can not perform keyring migration : Failed to initialize source keyring.
2026-05-06T12:14:16.828420Z 0 [ERROR] [MY-011084] [Server] Keyring migration failed.
2026-05-06T12:14:16.828603Z 0 [ERROR] [MY-010119] [Server] Aborting
2026-05-06T12:14:16.837533Z 0 [System] [MY-010910] [Server] C:/Program Files/MySQL/MySQL Server 9.7/bin/mysqld.exe: Shutdown complete (mysqld 9.7.0-commercial)  MySQL Enterprise Server - Commercial.
2026-05-06T12:14:16.837535Z 0 [System] [MY-015016] [Server] MySQL Server - end.

<<<

mysqlbackup exit code: 20, Keyring Error