Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install mysql workbench in debian buster?

I tried the following commands :

sudo dpkg -i mysql-apt-config_0.3.5-1debian8_all.deb
sudo apt-get update
sudo apt-get install mysql-workbench-community

but on searching mysql-workbench-community

sudo apt-cache search workbench | grep mysql

returns nothing.

And

sudo apt-get install mysql-workbench-community
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mysql-workbench-community

What to do ?

like image 911
Krishna Srinidhi Avatar asked Jan 23 '20 15:01

Krishna Srinidhi


4 Answers

I did manage to install without issues MySQL Workbench 8.0.19 version from an Ubuntu package in Debian Buster, with the command:

sudo dpkg -i mysql-workbench-community_8.0.19-1ubuntu18.04_amd64.deb

First you must download the package from the mysql website:

Just select Ubuntu Linux operating system and 18.04 version (19.10 version had broken dependencies) .

Hope this helps.

like image 160
Santi Sabaté Avatar answered Oct 23 '22 10:10

Santi Sabaté


It can also be installed from Snapcraft. I haven't used it that much, but apparently it works. First you need to enable snapd:

$ sudo apt update

$ sudo apt install snapd

$ sudo snap install core

Then install MySQL workbench (community edition):

$ sudo snap install mysql-workbench-community

If you want to delete it, simply:

$ sudo snap remove mysql-workbench-community

like image 45
nigomeza Avatar answered Oct 23 '22 09:10

nigomeza


I was able to install the latest version of MySQL Workbench (as of this writing) on Debian 10 using this method:

sudo apt install ./mysql-workbench-community_8.0.23-1ubuntu20.10_amd64.deb

A couple dependencies were missing so I subsequently ran:

sudo apt --fix-broken install

Just started using it, but MySQL Workbench seems to be running fine. It's also worth mentioning the link below states MySQL Workbench community is not available on Debian, although I'm not sure why this is the case.

mysql-workbench-community - MySQL Workbench (not available for Debian platforms)

https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-available

like image 20
J. Andrew Laughlin Avatar answered Oct 23 '22 09:10

J. Andrew Laughlin


MySQL Workbench mysql-workbench has been removed from Debian buster due to a release-critical bug.

  • https://tracker.debian.org/pkg/mysql-workbench
  • https://tracker.debian.org/news/943250/mysql-workbench-removed-from-testing/
  • https://bugs.debian.org/867943
  • https://bugs.mysql.com/bug.php?id=89898
like image 3
Andre Gomes Borges Vieira Avatar answered Oct 23 '22 11:10

Andre Gomes Borges Vieira