centos6 rpm安装mysql 5.7
安装过程中需要进行系统补包操作
[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的更多相关文章
- centos6 rpm安装mysql(5.5版本)包括 error : Failed dependencies:libaio的解决办法.
1.先在/opt目录下放了两个rpm包 2.先看系统中是否有其他版本的mysql的rpm包 rpm -qa | grep -i mysql 命令结果如下图: 如果没有此步跳过,否则执行一下命令将其删除 ...
- 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 ...
- 【转】CentOS6下安装mysql后,重置root密码方法
本文转自:CentOS6下安装mysql后,重置root密码方法 centos下安装mysql,居然不知道root用户密码,本想重装,不过还是先度娘了一些,发现这篇文章,刚好解决我的燃眉之急,太赞了. ...
- CentOS6.9安装MySQL(编译安装、二进制安装)
目录 CentOS6.9安装MySQL Linux安装MySQL的4种方式: 1. 二进制方式 特点:不需要安装,解压即可使用,不能定制功能 2. 编译安装 特点:可定制,安装慢 5.5之前: ./c ...
- 使用rpm安装mysql的默认目录
--使用rpm安装mysql的默认目录:1.数据库目录/var/lib/mysql/2.配置文件/usr/share/mysql(mysql.server命令及配置文件)3.相关命令/usr/bin( ...
- Mysql系列三:Centos6下安装Mysql和Mysql主从复制的搭建
一.Centos6下安装Mysql 检测下系统有没有自带的mysql:yum list installed | grep mysql, 如果已经有的话执行命令yum -y remove mysql-l ...
- Centos6.7安装mysql 5.6简单教程
今天项目经理让我给服务器配一下mysql,以前配置mysql的时候,感觉好麻烦,前几天也帮朋友配置来着,今天装的时候一直报错,百度也没搞明白,所以打算换种方法装mysql,无意中发现了还有这种操作,容 ...
- CentOS6.5安装mysql以及常见问题的解决
前言 最近在学习Linux系统,今天在安装MySQL数据库时出现很多问题,花费了两个小时终于解决,故记录下来以供大家参考.(本人目前还在学习阶段,下面写到的是自己结合网上查到的资料以及各位前辈给出的解 ...
- centos6 只安装mysql client(安装包安装和yum安装mysql)
方法一下载安装: 1.在/home创建mysql目录,下载如下四个软件包 http://mirrors.sohu.com/mysql/MySQL-5.7/ wget http://mirrors.so ...
随机推荐
- Game Based Learning: Why Does it Work?
Forty years of research[i] says yes, games are effective learning tools. People learn from games, an ...
- redux学你参考网站
redux官方网站 http://cn.redux.js.org/docs/api/combineReducers.html https://www.redux.org.cn 从设计的角度看Redux ...
- Performance --- 前端性能监控
阅读目录 一:什么是Performance? 二:使用 performance.timing 来计算值 三:前端性能如何优化? 四:Performance中方法 五:使用performane编写小工具 ...
- jdk和Tomcat版本之间的关系,jdk尽量要比tomcat低才行
注:本文来源于:6860 <jdk和Tomcat版本之间的关系,jdk尽量要比tomcat低才行> 用的tomcat是低版本的,但是用的jdk却是高版本的,用Servlet做的项目运行都没 ...
- 洛谷 P5269 欧稳欧再次学车 题解
P5269 欧稳欧再次学车 题目背景 请自行脑补一张欧稳欧学车的图 题目描述 欧稳欧学车时经常用一辆橡树车练习.这辆橡树车共有 \(N\) 个挡位,欧稳欧每秒可以把挡位增加或减少 \(1\),初始时( ...
- 下拉选择的blur和click事件冲突了
当写个下拉选择框时我们希望当input失去焦点时,下拉框消失,或者当选择下拉框中的内容的同时将内容填入input并且使下拉框消失. 这时候我们会想到blur和click,单独使用的时候是没有问题的,但 ...
- SpringCloud:搭建基于Gateway的微服务网关(二)
0.代码 https://github.com/fengdaizang/OpenAPI 1.引入相关依赖 pom文件如下: <?xml version="1.0" encod ...
- Shell脚本中$0、$?、$!、$$、$*、$#、$@的意义
$0 当前脚本的文件名$n 传递给脚本或者函数的参数,脚本后的第n个字符串,n=1…9$# 传递给脚本或者函数的参数个数$? 上一个命名的退出状态,或者函数的返回值(非0表示错误)$$ shell本身 ...
- Expression Atlas
网页 https://www.ebi.ac.uk/gxa/home 文档 https://www.ebi.ac.uk/gxa/help/index.html
- 深入ES6中的class类
今天在学习vuex时,遇到了定义store类时的一种写法,就是在类中的方法使用箭头函数绑定this的问题时的一种操作,感觉写法有点陌生,遂深究一番,好了上代码 此处写commit中的地方,是为了绑定t ...