Ubuntu 14 上的 MySql Workbench

Ubuntu 14 上的 MySql Workbench

嗨,我刚刚安装了最新版本的Ubuntu,14,现在我需要安装MySql Workbench。

我从 mysql 站点下载了 .deb 包,但是当我尝试安装它时出现此错误:

Preparing to unpack .../mysql-workbench-community-6.1.4-1ubu1310-amd64.deb ...
Unpacking mysql-workbench-community (6.1.4-1ubu1310) ...
dpkg:dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends to mysql-client; however:
  The mysql-client package didn't install.

dpkg: error processing package mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 mysql-workbench-community

我尝试运行sudo apt-get -f installsudo apt-get update尝试手动安装依赖项,但没有成功。

你能帮助我吗?

谢谢

编辑

I ran: `dpkg --get-selections | grep mysql`

我得到了这个:

libdbd-mysql-perl               install
libmysqlclient18:amd64              install
mysql-client-5.6                install
mysql-client-core-5.6               install
mysql-common                    install
mysql-common-5.6                install
mysql-server-5.6                install
mysql-server-core-5.6               install
mysql-workbench-community           deinstall

答案1

我是这样解决的:

1)卸载 mysql 服务器

2)删除有关mysql-workbench的所有配置

3)我没有使用 mysql 站点上的 .tar.gz,而是通过软件中心安装所有内容。

现在它可以工作了..

相关内容