Search code examples
mysqlencryptionkeyring

component_keyring_file.cnf invalid format


2025-02-27T22:52:41.397450Z 9 [ERROR] [MY-015106] [Server] Component component_keyring_file reported: 'Failed to read keyring file: C:\ProgramData\MySQL\MySQL Server 9.2\keyring\component_keyring_file.'
2025-02-27T22:52:41.397973Z 9 [ERROR] [MY-013714] [Server] Component component_keyring_file reported: 'The component is not initialized properly. Error: Failed to initialize keyring backend. Make sure that configuration is proper and use ALTER INSTANCE RELOAD KEYRING to reinitialize the component.'
2025-02-27T22:53:17.326436Z 9 [ERROR] [MY-015106] [Server] Component component_keyring_file reported: 'Failed to read keyring file: C:/ProgramData/MySQL/MySQL Server 9.2/keyring/component_keyring_file.'
2025-02-27T22:53:17.326952Z 9 [ERROR] [MY-013714] [Server] Component component_keyring_file reported: 'The component is not initialized properly. Error: Failed to initialize keyring backend. Make sure that configuration is proper and use ALTER INSTANCE RELOAD KEYRING to reinitialize the component.'
2025-02-27T22:53:48.551022Z 9 [ERROR] [MY-013714] [Server] Component component_keyring_file reported: 'The component is not initialized properly. Error: config file C:\Program Files\MySQL\mysql-commercial-9.2.0-winx64\lib\plugin\\component_keyring_file.cnf has not valid format. Make sure that configuration is proper and use ALTER INSTANCE RELOAD KEYRING to reinitialize the component.'

I am getting this error when trying to make the component_keyring_file available and active to be able to do tde in mysql.

I followed the documentation at https://docs.oracle.com/cd/E17952_01/mysql-9.2-en/keyring-component-installation.html

https://blogs.oracle.com/mysql/post/component-keyring-file

I am at the second link but I do not know else what to do.


Solution

  • I could fix it by pointing in the component_keyring_file.cnf the path to where I wanted the component_keyring_file.dll installed.