The procedure for uninstalling MySQL Workbench on Linux depends on the package you are using.
Uninstalling DEB packages
To uninstall a Debian package, use this command:
sudo dpkg -r mysql-workbench-community
This command does not remove the configuration files. If you wish to also remove the configuration files, use this command:
sudo dpkg --purge mysql-workbench-community
Uninstalling RPM packages
To uninstall an RPM package, use this command:
sudo rpm -e mysql-workbench-community
This command does not remove the configuration files.
By default, the uninstallation process does not remove your
MySQL Workbench configuration directory. This directory includes
your MySQL connections, configuration settings, cache files,
SQL snippets and history, logs, custom modules, and more.
These files are stored under your user's
By default, the MySQL Workbench configuration directory is
"~username" is the path to your user's home directory.
Also, the uninstallation process does not remove the
.mysqlworkbench schema that MySQL Workbench
creates when sharing SQL snippets across a MySQL connection.
For additional information about shared snippets, see
Section 7.1.5, “SQL Snippets tab”.