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”.
I have just download the .deb and installed it. It works. Now i want to uninstall it.
I have tried:
- sudo apt-get remove mysql-workbench, but it says "E: Unable to locate package mysql-workbench".
- Go to the Software manager, but it's not between the installed apps.
- Execute again the .deb, but it doesn't give the option to uninstall it.
I reboot my pc after installing it.
Any idea?
Javier.
asked Apr 3, 2012 at 8:14
Follow link this : //dev.mysql.com/doc/workbench/en/wb-linux-uninstalling.html
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
answered Nov 15, 2014 at 21:37
Donot Don'tDonot Don't
6197 silver badges12 bronze badges
The name of the MySQL Workbench package in Debian comes with the WB edition appended so it should be mysql-workbench-gpl
for the GPL version and mysql-workbench-se
for the SE version. You can search for the one you have installed with:
apt-cache search mysql-workbench
Once you have the proper package name you can remove it in the usual way:
sudo apt-get remove mysql-workbench-gpl
Hope this helps.
answered Apr 3, 2012 at 12:09
SergioSergio
4,4174 gold badges32 silver badges41 bronze badges
It is very simple: If you have the .deb file in place run:
sudo dpkg -r workbench.deb
otherwise simply delete the installation directory of the workbench, this should be sufficient.
answered Apr 3, 2012 at 8:25
Flo DoeFlo Doe
4,9772 gold badges18 silver badges17 bronze badges
You have to specify the edition that you want to uninstall..
sudo apt-get remove mysql-workbench-community
answered Dec 8, 2017 at 16:30
I removed using this command:
sudo snap remove mysql-workbench-community
answered Sep 15, 2021 at 5:04
Usama MajidUsama Majid
90311 silver badges12 bronze badges
You can remove all the dependencies with the command below
sudo apt-get remove mysql-*
Toby Allen
10.8k11 gold badges73 silver badges124 bronze badges
answered Jul 11, 2016 at 18:37
SarvasSarvas
1051 silver badge10 bronze badges
1
Steps :
- Go to Ubuntu Software Center
- Click on installed Tab.
- click Developer Tools You will get list of software.Select Workbench and remove it.
answered Dec 25, 2016 at 4:57
RIYAJ KHANRIYAJ KHAN
14.8k5 gold badges30 silver badges52 bronze badges