2.4.3 Uninstalling

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:

shell> 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:

shell> sudo dpkg --purge mysql-workbench-community

Uninstalling RPM packages

To uninstall an RPM package, use this command:

shell> sudo rpm -e mysql-workbench-community

This command does not remove the configuration files.

What Is Not Removed

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 .mysql/workbench/ directory.

Note

By default, the MySQL Workbench configuration directory is ~username/mysql/workbench/ where "~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.4, “SQL Snippets tab”.