Install MySQL Workbench on CentOS 7

Install EPEL (Extra Packages for Enterprise Linux) repositories:

wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo yum install ./epel-release-7-5.noarch.rpm

Install MySQL repositories:

wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
wget http://repo.mysql.com/mysql-community-release-el7.rpm
sudo yum install ./mysql-community-release-el7.5.noarch.rpm
sudo yum install ./mysql-community-release-el7.rpm 

(installing mysql-community-release-el7.rpm produced error: “does not update installed package”)

Install MySQL Workbench.

sudo yum install mysql-workbench

Install additional dependencies (that you would be informed of in error messages, if you invoked mysql-workbench

sudo yum install libzip.x86_64
sudo yum install tinyxml.x86_64

You can now start MySQL Workbench using menu: Applications / Programming / MySQL Workbench

References

  • http://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/
  • http://www.linuxpcfix.com/how-to-install-and-configure-mysql-workbench-on-linux-system/