linux使用yum命令安装mysql5.7

一、安装mysql5.7

https://blog.csdn.net/a1405/article/details/87786500

二、postfix-2.10.1-6.el7.x86_64包不兼容

yum remove postfix-2.10.1-6.el7.x86_64

三、CentOS7yum安装mysql+需要:libsasl2.so.2()(64bit)

解决方法:

修改vim /etc/yum.repos.d/mysql-community.repo 源文件

[mysql57-community]

name=MySQL 5.7 Community Server

## baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/6/$basearch/

baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch/

enabled=1

gpgcheck=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

posted @ 2022-02-19 21:34  榕树下的回忆  阅读(425)  评论(0编辑  收藏  举报