I'm at a loss, and with an extremely tight timeline, I'm rapidly running out of options. Posting here is my last-ditch attempt to get this working. I am trying to get my test environment of MariaDB 10.4.14 completely encrypted for data at rest (including logs, tmp files, etc). I have followed all the instructions, including the fact that the keyhole has to be in ANSI, but I am still getting the same error message:
[ERROR] mysqld.exe: file-key-management-filename is not set
[ERROR] Plugin 'file_key_management' init function returned error.
[ERROR] Plugin 'file_key_management' registration as a ENCRYPTION failed.
Here's what I have in the my.cnf file:
plugin-load-add = file_key_management
loose_file_key_management_file = C:/Program Files (x86)/MariaDB 10.1/data/keyfile.txt
The key file is unencrypted at the moment; I'll eventually encrypt it once I have this figured out.
I have gone into the database and have confirmed that the file_key_management plugin is listed in the ALL_PLUGINS table, but is showing as "DISABLED". When I try and manually change that to "ACTIVE", I get an error that "root@localhost does not have permissions" (I'm wondering if this is the root of my problem but don't know how to correct it).
Any ideas or thoughts are appreciated. I have been spending days reading everything I can find and I have to get this working by Tuesday, and am getting extraordinarily frustrated.
Thanks Chris