Mysql workbench

Currently, MySQL Workbench (or MariaDB Workbench) isn’t available as a Flatpak. You need to use Podman to create a virtual Ubuntu instance and run it there:

Creation and Installation

podman image pull ubuntu:20.04
podman run --interactive --tty --name ubuntu-mysql-workbench --volume /tmp/.X11-unix:/tmp/.X11-unix --env DISPLAY ubuntu:20.04 /bin/bash

Now you are inside a Ubuntu container. Run:

apt-get update; apt-get -y dist-upgrade
apt-get install -y wget
wget https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community_8.0.23-1ubuntu20.04_amd64.deb
dpkg --install mysql-workbench-community_8.0.23-1ubuntu20.04_amd64.deb
apt-get -y -f install

Now you are able to run MySQL Workbench:

mysql-workbench

Running it after installation

You need to start the container each time after you have booted your machine:

podman start ubuntu-mysql-workbench

(verify the state of the container with podman ps --all which should mark it as running)

Now that the container is up and running, run the MyQL Workbench:

podman exec ubuntu-mysql-workbench mysql-workbench
1 Like