Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save btalanski/2d8d0b48d0f221d2606dfb87935c00ee to your computer and use it in GitHub Desktop.
Save btalanski/2d8d0b48d0f221d2606dfb87935c00ee to your computer and use it in GitHub Desktop.
Mysql workbench an apparmor policy prevents this sender
If you are facing the following error while trying to connect to a MySQL server using the MySQL Workbench snap and Ubuntu Focal Fossa: "mysql workbench an apparmor policy prevents this sender [...]"
You might try the following solution:
1 - On a new terminal window, run the following commands:
# snap connect mysql-workbench-community:password-manager-service
# snap connect mysql-workbench-community:ssh-keys
By using snap connect, you will fix the issue with the MySQL Workbench snap, allowing you to connect to the server(s).
@vishesh-baghel
Copy link

Thanks man. I was trying to find this solution for the past 2 hours

@dduafa
Copy link

dduafa commented Feb 20, 2023

Thanks!

@aakashsyadav1999
Copy link

Thank you!!! Worked.

@Mokka68
Copy link

Mokka68 commented Feb 26, 2023

Thank you, this has solved my problem

@Da-Qi
Copy link

Da-Qi commented Feb 28, 2023

But you , my friend,you are the real hero!

@Rizaaal
Copy link

Rizaaal commented Feb 28, 2023

thank you so much. This helped me!

@bbhikarry
Copy link

worked thanks

@ArthurEnrique15
Copy link

thanks!!

@Hydeo
Copy link

Hydeo commented Mar 13, 2023

Merci !

@SokratisKok
Copy link

Thanks very much!!

@AgutuSam
Copy link

A real hero fr

@clicktechnology
Copy link

That worked first time, thanks for sharing, much appreciated!

@deadex-ng
Copy link

These commands are used to connect the password-manager-service and ssh-keys interfaces to the MySQL Workbench Community Snap package, providing it with the necessary access permissions to interact with the system's password manager and SSH keys for secure database connections.

Thanks!

@Romain442
Copy link

Thanks

@hatd-0903
Copy link

thank

@mattmattox
Copy link

This is awesome, thanks

@ziedbrah-source
Copy link

works ! thank you

@lolka0d
Copy link

lolka0d commented Apr 16, 2023

Thanks!

@rcdrigo
Copy link

rcdrigo commented Apr 18, 2023

Worked for me! Thanks a ton.

@ViniciussMelo
Copy link

Thanks!

@WesleyHLuz
Copy link

Thanks!

@lavanya-mandapati
Copy link

Thanks!!

@AldoBre
Copy link

AldoBre commented May 7, 2023

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment