Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to install Mysql Workbench

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Diolix
Posts: 4
Joined: 2021-03-31 20:53

How to install Mysql Workbench

#1 Post by Diolix »

Hello

I'm trying to install MySQL Workbench on Debian 11 and it looks that it doesn't work for some reason.
I've check many forum and always the same problem

Did someone have the solution to make it works ?

@Debian: I really don't understand why you don't make it works. You should really work on this, because on other Linux distribution it works.

Thanks

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: How to install Mysql Workbench

#2 Post by Head_on_a_Stick »

Diolix wrote:I'm trying to install MySQL Workbench on Debian 11
How? Please post the exact command(s).
Diolix wrote:it looks that it doesn't work for some reason
Why not? What happens, exactly? Please post the exact command(s) and full, verbatim error message(s).
deadbang

Diolix
Posts: 4
Joined: 2021-03-31 20:53

Re: How to install Mysql Workbench

#3 Post by Diolix »

Thanks to try to help me :)

the DB is successfully install.

I'm using the documentation from MySQL to install workbench:
https://dev.mysql.com/doc/workbench/en/ ... linux.html

When I'm executing the folowing command sudo apt-get install mysql-workbench-community
I get this message: E: Unable to locate package mysql-workbench-community

So I've download the manual package form: https://dev.mysql.com/downloads/workbench/
but they don't have for Debian so I took the on for Ubuntu VS 20.10
and run the manual command dpkg -i mysql-workbench-community_8.0.23-1ubuntu20.10_amd64.deb

and get this error message that he can't find the library:
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 157451 files and directories currently installed.)
Preparing to unpack mysql-workbench-community_8.0.23-1ubuntu20.10_amd64.deb ...
Unpacking mysql-workbench-community (8.0.23-1ubuntu20.10) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
mysql-workbench-community depends on libjpeg8 (>= 8c); however:
Package libjpeg8 is not installed.
mysql-workbench-community depends on libpcrecpp0v5 (>= 7.7); however:
Package libpcrecpp0v5 is not installed.
mysql-workbench-community depends on libpython3.8 (>= 3.8.2); however:
Package libpython3.8 is not installed.
mysql-workbench-community depends on libssh-4 (>= 0.8.0); however:
Package libssh-4 is not installed.
mysql-workbench-community depends on libzip5 (>= 0.10); however:
Package libzip5 is not installed.

dpkg: error processing package mysql-workbench-community (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.0-1) ...
Errors were encountered while processing:
mysql-workbench-community


so I did apt update & apt upgrade
and I got the massage:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mysql-workbench-community : Depends: libjpeg8 (>= 8c) but it is not installable
Depends: libpcrecpp0v5 (>= 7.7) but it is not installed
Depends: libpython3.8 (>= 3.8.2) but it is not installable
Depends: libssh-4 (>= 0.8.0) but it is not installed
Depends: libzip5 (>= 0.10) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I execute the command as it said apt --fix-broken install
and got this message:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
mysql-workbench-community
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 124 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 158735 files and directories currently installed.)
Removing mysql-workbench-community (8.0.23-1ubuntu20.10) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for shared-mime-info (2.0-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for desktop-file-utils (0.26-1) ...


and nothing changed, even if i repeat the process :(

Thank for your help

trinidad
Posts: 290
Joined: 2016-08-04 14:58
Been thanked: 14 times

Re: How to install Mysql Workbench

#4 Post by trinidad »

https://bugs.debian.org/cgi-bin/bugrepo ... bug=937102
https://tracker.debian.org/pkg/mysql-workbench
https://packages.debian.org/sid/i386/mysql-workbench
https://packages.debian.org/stretch/mysql-workbench

Python dependency problem. SID will probably not install a working version either. Unless you want to rewrite it yourself, it will run on stretch. Debian documentation is quite good. Google it sometime instead of other Linux kludge.

TC
You can't believe your eyes if your imagination is out of focus.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: How to install Mysql Workbench

#5 Post by arochester »

they don't have for Debian so I took the on for Ubuntu VS 20.10
Debian and Ubuntu tend to not work well together, Ubuntu is derived from Debian Unstable. There are warnings about mixing the two e.g. https://wiki.debian.org/DontBreakDebian ... nkenDebian

You might have been better to try the guidelines for adding MSQL on Debian 10, such as https://www.digitalocean.com/community/ ... -debian-10

Diolix
Posts: 4
Joined: 2021-03-31 20:53

Re: How to install Mysql Workbench

#6 Post by Diolix »

Thanks so much for this information

If I understood correctly the conversation the problem with python 2 is related to the workbench version 8.0.19 and was supposed to be corrected with the version 8.0.23, the one I've tried to installed

But at the end of the same conversation It's still some bug that is no more related to python. Unfortunately I don't understand the stuff :(

Diolix
Posts: 4
Joined: 2021-03-31 20:53

Re: How to install Mysql Workbench

#7 Post by Diolix »

@arocheter

Thank for your help

I already did this part. It's related only for the installation of the DB MySQL and not for the Workbench

MySQL DB works well on Debian 11. My problem is related to install Workbench :)

Post Reply