I have been trying to install the keyring_file.dll
of MySQL 5.7.26 plugin from WAMP 3.1.9 without success. It keeps me telling in the CMD Prompt:
ERROR 1123 (HY000): Can't initialize function 'keyring_file'; Plugin initialization function failed.
…and the MySQL log states:
[ERROR] Plugin keyring_file reported: 'File 'C:/Program Files/MySQL/MySQL Server 5.7/keyring\keyring' not found (Errcode: 2 – No such file or directory)'
Could somebody help me figure out what the root cause is?
Best Answer
The reason for that error is that mysql can't locate the keyring_file.dll file.
To fix that do the ff:
Edit the
my.ini
file located inC:\ProgramData\MySQL\MySQL Server 5.7\
and add the ff in the[mysqld]
block:Restart the MySQL service:
Validate that the keyring plugin is now active: