在Linux环境下安装workbench略有点小麻烦, 下面把自己的安装过程分享下:
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
mysql repository(大家可以尝试下)
MySQL workbench MySQL官方教程(主要参考下面这一段就够了):
Installing RPM packages
On Red Hat-based systems, and other systems that use the RPM package format, you can either download and install RPM packages or use the Yum package manager.
Enterprise Linux systems, such as Oracle Linux and Red Hat, require access to the EPEL package repository. For additional information about installing EPEL, see Installing Oracle Enterprise Linux and similar.
Using the Yum Package Manager
Your Linux distribution includes MySQL Workbench builds where "yum install mysql-workbench" will install their build of the MySQL Workbench package. To use the official MySQL Workbench builds as provided by the MySQL Release team, you must install the official MySQL Yum repository and choose the "mysql-workbench-community" package instead of "mysql-workbench".
-
First, install the MySQL Yum repository as described in the MySQL Yum Repository documentation. For example:
shell>sudo rpm -Uvh mysql-community-release-el7-5.noarch.rpm -
Next, install MySQL Workbench. You might have multiple Workbench packages available, so choose the "mysql-workbench-community" version. For example:
shell>sudo yum install mysql-workbench-community
Manually Installing a Package
shell> sudo rpm -i package.rpm
is the MySQL Workbench package name; for example, package.rpmmysql-workbench-community-, where version-1fc10.x86_64.rpmversion is the MySQL Workbench version number.
MySQL Workbench requires access to the EPEL repository. EPEL is a repository with additional RPM packages that are not part of the core RHEL/OEL distribution. This includes packages (such as tinyxml) that MySQL Workbench requires.
You need to set up the EPEL repository in yum to resolve the required dependencies. For example, using Oracle Linux 6.5 you would:
shell>wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmshell>rpm -ivh epel-release-6-8.noarch.rpmshell>yum repolistLoaded plugins: refresh-packagekit, rhnplugin repo id repo name status epel Extra Packages for Enterprise Linux 6 - x86_64 7,124
These instructions also apply to similar Linux distributions such as Red Hat Enterprise Linux, CentOS, and Scientific Linux.
Next, follow the RPM-based installation documentation at Installing RPM packages.

本文详细介绍了在Linux环境下安装MySQL Workbench的过程,包括使用Yum包管理器、手动安装RPM包以及针对Oracle Enterprise Linux等系统的特殊步骤,特别强调了需要EPEL仓库以解决依赖问题。

1388

被折叠的 条评论
为什么被折叠?



