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

 [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. Properties 取值和设置函数 Hashtable的静态内部类Entry的结构和克隆方法

  2. IMP self _cmd

    The only way to circumvent dynamic binding is to get the address of a method and call it directly as ...

  3. day007-python函数之课后作业讲解

    作业一: 需求:写函数,计算传入字符串中的[数字].[字母].[空格]以及[其他]的个数 #!/usr/bin/env python # -*- coding:utf-8 -*- #先定义一个函数 d ...

  4. Docker中Maven私服的搭建

    为何用到Maven私服? 在实际开发中,项目中可能会用到第三方的jar.内部通讯的服务接口都会打入到公司的私服中. 我们从项目实际开发来看: 一些无法从外部仓库下载的构件,例如内部的项目还能部署到私服 ...

  5. I2c理解

    1.IIc是什么: 是飞利浦公司设计的一种用于mcu与外围设备之间信息交互的一种协议.高速IIC总线一般可大400kbs 2.IIC作用: 用于mcu与外围设备间信息交互. 3.IIc由什么组成: 由 ...

  6. CCF 201812-3 CIDR合并

    CCF 201812-3 CIDR合并 //100分 93ms #include<stdio.h>//CCF上stdio.h比cstdio快!!! #include<string.h ...

  7. ModuleNotFoundError: No module named 'rest_framework_swagger'

    pip3.6 install django-rest-swagger

  8. (持续更新) C# 面试技术点、常见SQL技术点 和 解决高并发的相关技术

    这篇博客 持续更新. 方便小伙伴们学习与面试前的复习

  9. exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

      1.情景展示 Java 报错信息如下: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 2.原因分析 首先,这是越界异常,但不是数组越 ...

  10. webpack4.0构建项目流程

    webpack4.0构建项目流程,具体的就不一一唠叨了,这里给出构建流程步骤: 流程大图: 下载高清大图