Skip to Content

Solved: How do I fix Clear Password error, unable to change MySql root user password on Ubuntu 20.04 Desktop?

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 [email protected]: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…

Solved: How do I fix Clear Password error, unable to change MySql root user password on Ubuntu 20.04 Desktop?

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.

    Ads Blocker Image Powered by Code Help Pro

    It looks like you are using an adblocker.

    Ads keep our content free. Please consider supporting us by allowing ads on pupuweb.com