安装过程中需要进行系统补包操作

 [root@cent6zbx ~]# rpm -qa |grep mysql
mysql-libs-5.1.-.el6_6.x86_64
[root@cent6zbx ~]# rpm -e mysql-libs
error: Failed dependencies:
libmysqlclient.so.()(64bit) is needed by (installed) postfix-:2.6.-.el6_5.x86_64
libmysqlclient.so.(libmysqlclient_16)(64bit) is needed by (installed) postfix-:2.6.-.el6_5.x86_64
mysql-libs is needed by (installed) postfix-:2.6.-.el6_5.x86_64
[root@cent6zbx ~]# rpm -e --nodeps mysql-libs
[root@cent6zbx ~]# rpm -qa |grep mysql
[root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.-.el6.x86_64.rpm mysql-community-client-5.7.-.el6.x86_64.rpm mysql-community-libs-
mysql-community-libs-5.7.-.el6.x86_64.rpm
mysql-community-libs-compat-5.7.-.el6.x86_64.rpm
[root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.-.el6.x86_64.rpm mysql-community-client-5.7.-.el6.x86_64.rpm mysql-community-libs-
mysql-community-libs-5.7.-.el6.x86_64.rpm
mysql-community-libs-compat-5.7.-.el6.x86_64.rpm
[root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.-.el6.x86_64.rpm mysql-community-client-5.7.-.el6.x86_64.rpm mysql-community-libs-5.7.-.el6.x86_64.rpm mysql-community-server-5.7.-.el6.x86_64.rpm mysql-community-libs-compat-5.7.-.el6.x86_64.rpm
warning: mysql-community-common-5.7.-.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
libaio.so.()(64bit) is needed by mysql-community-server-5.7.-.el6.x86_64
libaio.so.(LIBAIO_0.)(64bit) is needed by mysql-community-server-5.7.-.el6.x86_64
libaio.so.(LIBAIO_0.)(64bit) is needed by mysql-community-server-5.7.-.el6.x86_64
libnuma.so.()(64bit) is needed by mysql-community-server-5.7.-.el6.x86_64
libnuma.so.(libnuma_1.)(64bit) is needed by mysql-community-server-5.7.-.el6.x86_64
libnuma.so.(libnuma_1.)(64bit) is needed by mysql-community-server-5.7.-.el6.x86_64
[root@cent6zbx ~]# yum install libaio
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libaio.x86_64 :0.3.-.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved ==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
libaio x86_64 0.3.-.el6 base k Transaction Summary
==============================================================================================================================================================
Install Package(s) Total download size: k
Installed size: k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found pre-existing rpmdb problem(s), 'yum check' output follows:
:postfix-2.6.-.el6_5.x86_64 has missing requires of libmysqlclient.so.()(64bit)
:postfix-2.6.-.el6_5.x86_64 has missing requires of libmysqlclient.so.(libmysqlclient_16)(64bit)
:postfix-2.6.-.el6_5.x86_64 has missing requires of mysql-libs
Installing : libaio-0.3.-.el6.x86_64 /
Verifying : libaio-0.3.-.el6.x86_64 / Installed:
libaio.x86_64 :0.3.-.el6
[root@cent6zbx ~]# yum install numactl
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package numactl.x86_64 :2.0.-.el6 will be installed
--> Finished Dependency Resolution Dependencies Resolved ===========================================================================================
Package Arch Version Repository Size
===========================================================================================
Installing:
numactl x86_64 2.0.-.el6 base k Transaction Summary
===========================================================================================
Install Package(s) Total download size: k
Installed size: k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : numactl-2.0.-.el6.x86_64 /
Verifying : numactl-2.0.-.el6.x86_64 / Installed:
numactl.x86_64 :2.0.-.el6 Complete! [root@cent6zbx ~]# rpm -ivh mysql-community-common-5.7.-.el6.x86_64.rpm mysql-community-client-5.7.-.el6.x86_64.rpm mysql-community-libs-5.7.-.el6.x86_64.rpm mysql-community-server-5.7.-.el6.x86_64.rpm mysql-community-libs-compat-5.7.-.el6.x86_64.rpm
warning: mysql-community-common-5.7.-.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... ########################################### [%]
:mysql-community-common ########################################### [ %]
:mysql-community-libs ########################################### [ %]
:mysql-community-client ########################################### [ %]
:mysql-community-server ########################################### [ %]
:mysql-community-libs-co########################################### [%]

centos6 rpm安装mysql 5.7的更多相关文章

  1. centos6 rpm安装mysql(5.5版本)包括 error : Failed dependencies:libaio的解决办法.

    1.先在/opt目录下放了两个rpm包 2.先看系统中是否有其他版本的mysql的rpm包 rpm -qa | grep -i mysql 命令结果如下图: 如果没有此步跳过,否则执行一下命令将其删除 ...

  2. Centos6.5 安装MYSQL 5.5 -5.6.-5.7 一键yum快速安装 ,初始配置

    Centos6.5 安装MYSQL 5.5 ---5.6---5.7 一键yum快速安装 ,初始配置 第一步:安装mysql-5.5---- 5.6 ---- 5.7的yum源 [root@sv03 ...

  3. 【转】CentOS6下安装mysql后,重置root密码方法

    本文转自:CentOS6下安装mysql后,重置root密码方法 centos下安装mysql,居然不知道root用户密码,本想重装,不过还是先度娘了一些,发现这篇文章,刚好解决我的燃眉之急,太赞了. ...

  4. CentOS6.9安装MySQL(编译安装、二进制安装)

    目录 CentOS6.9安装MySQL Linux安装MySQL的4种方式: 1. 二进制方式 特点:不需要安装,解压即可使用,不能定制功能 2. 编译安装 特点:可定制,安装慢 5.5之前: ./c ...

  5. 使用rpm安装mysql的默认目录

    --使用rpm安装mysql的默认目录:1.数据库目录/var/lib/mysql/2.配置文件/usr/share/mysql(mysql.server命令及配置文件)3.相关命令/usr/bin( ...

  6. Mysql系列三:Centos6下安装Mysql和Mysql主从复制的搭建

    一.Centos6下安装Mysql 检测下系统有没有自带的mysql:yum list installed | grep mysql, 如果已经有的话执行命令yum -y remove mysql-l ...

  7. Centos6.7安装mysql 5.6简单教程

    今天项目经理让我给服务器配一下mysql,以前配置mysql的时候,感觉好麻烦,前几天也帮朋友配置来着,今天装的时候一直报错,百度也没搞明白,所以打算换种方法装mysql,无意中发现了还有这种操作,容 ...

  8. CentOS6.5安装mysql以及常见问题的解决

    前言 最近在学习Linux系统,今天在安装MySQL数据库时出现很多问题,花费了两个小时终于解决,故记录下来以供大家参考.(本人目前还在学习阶段,下面写到的是自己结合网上查到的资料以及各位前辈给出的解 ...

  9. centos6 只安装mysql client(安装包安装和yum安装mysql)

    方法一下载安装: 1.在/home创建mysql目录,下载如下四个软件包 http://mirrors.sohu.com/mysql/MySQL-5.7/ wget http://mirrors.so ...

随机推荐

  1. Oracle之常用sql

    SQL函数 本文PDF下载 本文示例数据库下载 一旦成功地从表中检索出数据,就需要进一步操纵这些数据,以获得有用或有意义的结果.这些要求包括:执行计算与数学运算.转换数据.解析数值.组合值和聚合一个范 ...

  2. js 复选框回显

    <div class="control-group"> <label class="control-label">客户状态:</l ...

  3. iOS 应用逆向工程分析流程图

    http://bbs.iosre.com/t/ios/12432

  4. Windows下PHP7/5.6以上版本 如何连接Oracle 12c,并使用PDO

    https://blog.csdn.net/houpanqi/article/details/78841928 首先,本篇文章重点分享的是:在Win平台下,如何使用PHP7连接Oracle 12C,所 ...

  5. 12-网页,网站,微信公众号基础入门(编写后台PHP程序,实现Airkiss配网)

    https://www.cnblogs.com/yangfengwu/p/11067590.html 首先说一下,这两个地方需要配置一样 网站根目录建个文件夹 airkiss的文件夹 里面放上 ind ...

  6. on bind live delegate的区别

    bind()----直接绑定在元素上 live()----通过冒泡的方式绑定到元素上,更适合于列表类型的绑定,和bind()相比,支持动态数据 delegate()----精确的小范围的适用事件代理, ...

  7. Cookie 的 SameSite 属性

    转自http://www.ruanyifeng.com/blog/2019/09/cookie-samesite.html Chrome 51 开始,浏览器的 Cookie 新增加了一个SameSit ...

  8. 数位dp技巧

    一个奇怪的东西 正反都能dp!: 正常我们数位dp都是从高到低,以这样的方式保证其小于给定数-> ll n; int num[N],l; ll dp[]; ll dfs(int p,int li ...

  9. 第9期《jmeter接口自动化实战》零基础入门!

    2019年 第9期<jmeter接口自动化实战>课程,12月6号开学! 上课方式:QQ群视频在线教学 本期上课时间:12月6号-1月18号,每周五.周六晚上20:00-22:00 报名费: ...

  10. 修改Docker容器启动配置参数

    有时候,我们创建容器时忘了添加参数 --restart=always ,当 Docker 重启时,容器未能自动启动, 现在要添加该参数怎么办呢,方法有二: 1.Docker 命令修改 docker c ...