Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save btalanski/2d8d0b48d0f221d2606dfb87935c00ee to your computer and use it in GitHub Desktop.

Select an option

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).
@mahikumawat121998

Copy link
Copy Markdown

It working

@JadenPerleoni

Copy link
Copy Markdown

Thanks a lot!

@lazarusCantini

Copy link
Copy Markdown

Great, Thanks!

@theophilly

Copy link
Copy Markdown

thanks, works

@AllGain

AllGain commented Feb 8, 2023

Copy link
Copy Markdown

Thanks !

@Kduuu0581

Copy link
Copy Markdown

Thanks, it worked for me!

@vishesh-baghel

Copy link
Copy Markdown

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

@dduafa

dduafa commented Feb 20, 2023

Copy link
Copy Markdown

Thanks!

@aakashsyadav1999

Copy link
Copy Markdown

Thank you!!! Worked.

@Mokka68

Mokka68 commented Feb 26, 2023

Copy link
Copy Markdown

Thank you, this has solved my problem

@Da-Qi

Da-Qi commented Feb 28, 2023

Copy link
Copy Markdown

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

@Rizaaal

Rizaaal commented Feb 28, 2023

Copy link
Copy Markdown

thank you so much. This helped me!

@bbhikarry

Copy link
Copy Markdown

worked thanks

@ArthurEnrique15

Copy link
Copy Markdown

thanks!!

@Hydeo

Hydeo commented Mar 13, 2023

Copy link
Copy Markdown

Merci !

@SokratisKok

Copy link
Copy Markdown

Thanks very much!!

@AgutuSam

Copy link
Copy Markdown

A real hero fr

@clicktechnology

Copy link
Copy Markdown

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

@deadex-ng

Copy link
Copy Markdown

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
Copy Markdown

Thanks

@hatd-0903

Copy link
Copy Markdown

thank

@mattmattox

Copy link
Copy Markdown

This is awesome, thanks

@ziedbrah-source

Copy link
Copy Markdown

works ! thank you

ghost commented Apr 16, 2023

Copy link
Copy Markdown

Thanks!

@rcdrigo

rcdrigo commented Apr 18, 2023

Copy link
Copy Markdown

Worked for me! Thanks a ton.

@ViniciussMelo

Copy link
Copy Markdown

Thanks!

@WesleyHLuz

Copy link
Copy Markdown

Thanks!

@lavanya-mandapati

Copy link
Copy Markdown

Thanks!!

@AldoBre

AldoBre commented May 7, 2023

Copy link
Copy Markdown

Thanks!!!

@amlette

amlette commented Jul 14, 2025

Copy link
Copy Markdown

Thanks

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