Problem
MySql Workbench 8 was successfully installed on Ubuntu 20.04 desktop using the terminal. During installation, I set a password for the root user. I am able to connect to the MySql server via terminal without any issues, the MySql server is currently up and active.
I am unable to change the local instance 3306 root@localhost:3306 password on Ubuntu 20.04 Desktop from the opening screen. This is the “Clear Password” error message I encountered:
Clear Password
Could not clear password: forget_password An AppArmor policy prevents this sender from sending this message to this recipient…
How can I resolve this issue?
Solution
The message indicates that the keyring service is not able to communicate due to AppArmor. Enabling AppArmor should therefore allow the communication:
sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service
Note: I usually disable AppArmor due to certain inconveniences that require working around.