Install MySQL Workbench on CentOS7
[Install MySQL]
Because MySQL is acquired by Oracle, the mysql-sever file is no longer available in the yum source of CentOS 7 when mysql is installed normally. You need to download it from the official website.
#wgethttp://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
#rpm-ivhmysql-community-release-el7-5.noarch.rpm
#yuminstallmysql-community-server
For the specific version above, you can go to the MySQL download page, find the Yum Repository page, find the latest version name, and replace the above version name.
Restart the mysql service after successful installation.
#servicemysqldrestart
[Failed to install MySQL Workbench]
Run yum install mysql-workbench-community
After the system performs various checks, the system prompts that there is no installation package.
I have been searching for MySQL for half a day and cannot find the installation package to download. Finally, I found the method for obtaining the installation package on the Internet:
Http://cdn.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community-6.3.4-1.el7.x86_64.rpm
Similarly, the specific version number is based on the prompt version number for executing yum install mysql-workbench-community.
Then start waiting for download.
After installation, run the preceding installation command to start installation. Found, still incorrect.
After careful research, the system prompts that proj and tinyxml are missing.
Check again and find that tinyxml is not on the official yum. You need to configure the EPEL source.
[Configure EPEL (Enterprise Edition Linux software package )]
Execute the yum install epel-release.noarch
After installing EPEL, execute yum repolist. If the displayed information contains epel, the installation is successful.
Then try to execute yum install tinyxml to install it.
[Install MySQL Workbench]
Run yum install mysql-workbench-community again.
The system prompts the list of dependent software and asks whether to download and install the software. It's easy.
After confirmation, the system downloads the dependent package and then installs it.
After the installation is complete, the MySQL Workbench icon appears under "programming" in the "application" menu.
Success!
[Summary]
This is because EPEL is not configured !!!!