MySQL 8 Encryption At Rest in MySQL Posted November 11, 2020 · Report reply Using MySQL 8.0.18 - all is working fine. But I need to add encryption at rest functionality using the keyring_file.dll plugin. This should be achievable using: [mysqld] early-plugin-load=keyring_file.dll keyring_file_data=/UniServerZ/core/mysql/keyring I have used the 'keyring_file.dll' and 'keyring_udf.dll' from MySQL 8.0.22 ZIP and placed in created directory: /UniServerZ/core/mysql/lib/plugin/ But nope - spent a day and a half fiddling with paths etc. etc. - mysql simply fails to start with above config. 2020-11-11T10:54:49.858479Z 0 [ERROR] [MY-010901] [Server] Can't open shared library 'J:\UniServerZ\core\mysql\lib\plugin\keyring_file.dll' (errno: 126 The specified module could not be found.). 2020-11-11T10:54:49.865906Z 0 [ERROR] [MY-010736] [Server] Couldn't load plugin named 'keyring_file.dll' with soname 'keyring_file.dll'. 2020-11-11T10:54:52.004982Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2020-11-11T10:54:52.039590Z 0 [ERROR] [MY-000067] [Server] unknown variable 'keyring_file_data=J:/UniServerZ/core/mysql/keyring/keyring'. 2020-11-11T10:54:52.044123Z 0 [ERROR] [MY-010119] [Server] Aborting 2020-11-11T10:54:52.787494Z 0 [System] [MY-010910] [Server] J:\UniServerZ\core\mysql\bin\mysqld_z.exe: Shutdown complete (mysqld 8.0.18) MySQL Community Server - GPL. This is preventing me from using Uniform Server for a very specific purpose as a standalone, USB drive based solution for an urgent requirement... Very frustrating!