zoukankan      html  css  js  c++  java
  • 安装mysql报Requires: libc.so.6(GLIBC_2.17)(64bit)

    1. Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)

    2.            Requires: libc.so.6(GLIBC_2.17)(64bit)

    3. Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)

    4.            Requires: systemd

    5. Error: Package: mysql-community-libs-5.6.40-2.el7.x86_64 (mysql56-community)

    6.            Requires: libc.so.6(GLIBC_2.17)(64bit)

    7. Error: Package: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)

    8.            Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)

    9. Error: Package: mysql-community-client-5.6.40-2.el7.x86_64 (mysql56-community)

    10.            Requires: libc.so.6(GLIBC_2.17)(64bit)

    11.  You could try using --skip-broken to work around the problem

    12.  You could try running: rpm -Va --nofiles --nodigest

    解决方案如下:https://unix.stackexchange.com/questions/280385/can-not-install-mysql-server-on-centos-6-7-32bit-error-need-rpm #cd /etc/yum.repos.d/

    1. #sudo vi mysql-community.repo

    2.  
    1. 找到mysql-56-community

    2.  
    1. 将enable置为0 enable=0

    2. 重新安装mysql sudo yum install mysql-server

    -------------------------------------------------------------------------

    mysql 安装

    1.获取yum安装源
    wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

    2.安装yum安装源
     rpm -ivh mysql-community-release-el7-5.noarch.rpm  

    3. yum -y install mysql-server   /yum makecache
    4.启动mysql  
    service mysqld start或者/etc/init.d/mysqld start
              设置开机启动:
                添加开机启动:chkconfig --add mysqld;
                开机启动:chkconfig mysqld on;
            停止 MySQL 服务: 
            service mysqld stop
    5.  MySQL 登陆等权限设置
             mysql -u root;
                use mysql ;
                update user set password=password("123456") where user="root";
                flush privileges;
     

  • 相关阅读:
    让你成功安装vscode中go的相关插件
    初学者没有搞明白的GOROOT,GOPATH,GOBIN,project目录
    java Concurrent包学习笔记(一):ExecutorService
    mysql主从复制(收藏)
    java Concurrent包学习笔记(三):ReentrantLock
    myBatis中if test 字符串注意事项
    mybatis标签
    安装docker跨主机网络flannel
    正则:数字字母下划线组合,长度6-10;至少包含一个大写字母、一个小写字母、一个数字
    shell [] [[]]的区别(转)
  • 原文地址:https://www.cnblogs.com/pigdata/p/10305617.html
Copyright © 2011-2022 走看看