Ubuntu Mysql WorkBench Server 연결 오류
Ubuntu 에 docker 설치 후 mysql server 5.7 image를 설치, Portainer로 Container 생성 후 실행하였다.

하지만, console에서 연결 시도는 정상 동작되지만 MySQL WorkBench를 이용하여 연결할 경우 아래 오류가 발생한다.
An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.125" (uid=1000 pid=7944 comm="/snap/mysql-workbench-community/5/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.13" (uid=1000 pid=2044 comm="/usr/bin/gnome- keyring-daemon --daemonize --login" label="unconfined")
이에 구글링 결과 askubuntu 포럼에서 해답을 찾았고 console에서 아래 명령어 수행 후 WorkBench에 연결 했다.


MySQL WorkBench 연결 성공...

참조
snap - Cannot connect MySQL Workbench to MySQL server - Ask Ubuntu
Cannot connect MySQL Workbench to MySQL server
I have installed MySQL workbench from Snap Store and MySQL server 8.0 using apt. The server is running fine and I can access MySQL shell from terminal. But I am having issues connecting the Workben...
askubuntu.com