The procedure for uninstalling MySQL Workbench on Linux depends on the package you are using.
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.
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
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.
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.
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”.