Your connection attempt failed for user 'root' to the MySQL server at localhost:3306: An AppArmor policy prevents this sender from sending this message to this recipient code example
Example: Your connection attempt failed for user 'root' to the MySQL server at localhost:3306: An AppArmor policy prevents this sender from sending this message to this recipient
sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service