Workbench on Ubuntu 20.04 Focal Fossa
I have just upgraded my Ubuntu installation to 20.04. I cannot get the Workbench to connect to a remote instance on the local network. I get error message:
Could not clear password: An AppArmor policy prevents this sender from sending this message to this recipient; type='method call",sender-"1.268" (uid=1000 pid=93949 comm="/snap/mysql-workbench-community/4/usr/bin/mysql-wo" label="snap.mysql-workbench-community.mysql-workbench-community (enforce))")
interface="org.freedesktop.Secret.Service" member="OpenSession" error name="(unset)" requested_reply="0" destination=":1.14" (uid=1000 pid=2135 comm="/usr/bin/gnome-keyring-daermon - daemonize-login "label="unconfined")
I had previously ran the following:
Open the file /etc/apparmor.d/usr.sbin.mysqld in a text editor (for example, vi editor) and add the lines below at the end of the /usr/sbin/mysqld section at the end of the file:
/usr/sbin/mysqld {
...
/proc/*/status r,
/sys/devices/system/node/ r,
/sys/devices/system/node/node*/meminfo r,
/sys/devices/system/node/*/* r,
/sys/devices/system/node/* r,
...
}
Reload AppArmor configuration for MySQL service:
apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld
Start MySQL server:
service mysql start
Subject
Views
Written By
Posted
Workbench on Ubuntu 20.04 Focal Fossa
11306
April 27, 2020 09:54AM
2865
April 28, 2020 03:43AM
2152
April 28, 2020 08:10AM
9951
April 28, 2020 08:15AM
2324
April 28, 2020 10:03AM
1560
April 29, 2020 11:52AM
1248
April 30, 2020 10:12AM
1065
April 30, 2020 10:49AM
1063
May 04, 2020 06:46AM
1059
May 04, 2020 11:47AM
1347
May 04, 2020 12:28PM
1214
May 05, 2020 03:07PM
1598
May 27, 2020 12:18PM
769
November 10, 2020 01:20PM
1433
June 04, 2020 12:40PM
1049
June 04, 2020 01:28PM
1012
June 04, 2020 02:06PM
1310
June 04, 2020 02:18PM
1050
June 04, 2020 09:46PM
1232
June 05, 2020 09:18AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.