CentOS 7 安装 mysql workbench

centos 7.4 安装mysql workbench最新版,启动失败,报错如下;mysql-workbench-bin killed by SIGSEGV。 网络搜索后无解,后在mysql论坛找到解决方案。 链接如下: https://forums.mysql.com/read.php?152,661138,663325 原文

Sorry. There is a typo in the posting above. It should be: 

I got it to work after reading a posting at this link. https://stackoverflow.com/questions/47475710/mysql-workbench-cant-open-on-centos-7 

CORRECTION: Remove the current version and install 6.2.5-1 

Commands done as root user: 

wget http://repo.mysql.com/yum/mysql-tools-community/el/7/x86_64/mysql-workbench-community-6.2.5-1.el7.x86_64.rpm 
yum install rpm mysql-workbench-community-6.2.5-1.el7.x86_64.rpm 
yum install tinyxml 

An update might break it. 

# I also did these commands but I don't think they were needed: 
wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm 
yum install rpm mysql57-community-release-el7-11.noarch.rpm 

# This wanted to install 6.3.10-1.el7 so I did not do it. 
yum install mysql-workbench-community
大意是
移除当前版本,安装6.2.5-1
CORRECTION: Remove the current version and install 6.2.5-1 

作为root用户进行命令操作
Commands done as root user: 

使用wget 命令进行下载(或复制下载地址到浏览器地址下载)
wget http://repo.mysql.com/yum/mysql-tools-community/el/7/x86_64/mysql-workbench-community-6.2.5-1.el7.x86_64.rpm 

yum 命令安装程序及依赖
yum install rpm mysql-workbench-community-6.2.5-1.el7.x86_64.rpm 
yum install tinyxml 

本机具体操作如下

**1、删除最新版mysql-workbench
rm mysql-workbench-community-6.3.10-1.el7.x86_64.rpm 
2、安装下载后的6.2.5-1版本
yum install rpm mysql-workbench-community-6.2.5-1.el7.x86_64.rpm 
3、安装依赖
yum install tinyxml **

安装成功后在程序菜单中找到快捷方式,点击即可启动。

猜你喜欢

转载自my.oschina.net/ouyushan/blog/1795645
今日推荐