Search code examples
mysqlubuntuworkbench

Installing workbench on ubuntu


I am trying to install MySQL Workbench on Ubuntu 20.04, and I run these commands:

sudo apt-get update && sudo apt-get upgrade
sudo apt install mysql-workbench

the error is:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mysql-workbench

I used this way to install before but now I do not know what to do, please help, I am new in Ubuntu.


Solution

  • try this:

    download snapd service using apt-get

    sudo apt-get install snapd

    after that install workbench

    sudo snap install mysql-workbench-community

    when it's done You need to enter a command to allow this package to access the service. The command is:

    sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service