MySQL Workbench Manual  /  ...  /  Uninstalling

2.4.3 Uninstalling

The procedure for uninstalling MySQL Workbench on Linux depends on the package you are using.

Note

When using apt, the official package name at dev.mysql.com is mysql-workbench-community, whereas most Linux distributions use the name mysql-workbench. Adjust the following commands accordingly.

Uninstalling DEB Packages

To uninstall a Debian package, use the following:

$> sudo apt-get remove mysql-workbench-community

Or, alternatively:

$> 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

Note

When using yum, the official package name at dev.mysql.com is mysql-workbench-community, whereas most Linux distributions use the name mysql-workbench. Adjust the following commands accordingly.

To uninstall an RPM package, use this command:

$> sudo yum remove mysql-workbench-community

Or, alternatively:

$> sudo rpm -e mysql-workbench-community

This command does not remove the configuration files.

What Is Not Removed

By default, uninstalling MySQL Workbench does not remove your 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 Workbench configuration directory is ~username/mysql/workbench/ where "~username" is the path to your user's home directory.

Also, uninstalling Workbench does not remove the .mysqlworkbench schema that Workbench creates when sharing SQL snippets across a MySQL connection. For additional information about shared snippets, see Section 8.1.5, “SQL Additions - Snippets Tab”.