天天看点

rpm安装mysql5.6.36

第一步:去官网下载tar包

              MySQL-5.6.36-1.el7.x86_64.rpm-bundle.tar

第二步:上传数据库服务器,解压后删掉不需要的rpm包,如compact,嵌入包等

第三步:安装rpm包

              #rpm -ivh *.rpm

              提示:、

              错误:依赖检测失败:

             libaio.so.1()(64bit) 被 MySQL-server-5.6.36-1.el7.x86_64 需要

             libaio.so.1(LIBAIO_0.1)(64bit) 被 MySQL-server-5.6.36-1.el7.x86_64 需要

             libaio.so.1(LIBAIO_0.4)(64bit) 被 MySQL-server-5.6.36-1.el7.x86_64 需要

             net-tools 被 MySQL-server-5.6.36-1.el7.x86_64 需要

            yum install  net-tools  libaio -y

            重新安装提示和现有包冲突:

             conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64

             将其卸载:rpm -e  mariadb-libs-1:5.5.56-2.el7.x86_64 --nodeps

             重新安装:成功