CENTOS7 installation mysql5.7

Source: Internet
Author: User
Tags gpg sha1

Prior to centos6.5 installed mysql5.7, in the implementation of Yum install Mysql-community-server problem occurs

[email protected] ~]# Yum install mysql-community-serverloaded Plugins:fastestmirror, refresh-PackageKit, securitysetting up Install processloading mirror speeds from cached Hostfile*base:mirror.bit.edu.cn*extras:mirrors.tuna.tsinghua.edu.cn*updates:mirror.bit.edu.cnResolving Dependencies--> Running Transaction Check--Package mysql-community-server.x86_64 0:5.7.18-1.el7 would be installed--> Processing dependency:mysql-community-client (x86-64) >= 5.7.9 for package: Mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:systemd for package:mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:systemd for package:mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:libstdc++.so.6 (glibcxx_3.4.15) (64bit) for package: Mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:libc.so.6 (glibc_2.17) (64bit) for package:mysql-community-server-5.7.18-1.el7.x86_64 --> Running Transaction Check--Package mysql-community-client.x86_64 0:5.7.18-1.el7 would be installed--> Processing dependency:mysql-community-libs (x86-64) >= 5.7.9 for package: Mysql-community-client-5.7.18-1.el7.x86_64--> Processing dependency:libstdc++.so.6 (glibcxx_3.4.15) (64bit) for package: Mysql-community-client-5.7.18-1.el7.x86_64--> Processing dependency:libc.so.6 (glibc_2.14) (64bit) for package:mysql-community-client-5.7.18-1.el7.x86_64 --Package mysql-community-server.x86_64 0:5.7.18-1.el7 would be installed--> Processing dependency:systemd for package:mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:systemd for package:mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:libstdc++.so.6 (glibcxx_3.4.15) (64bit) for package: Mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:libc.so.6 (glibc_2.17) (64bit) for package:mysql-community-server-5.7.18-1.el7.x86_64 --> Running Transaction Check--Package mysql-community-client.x86_64 0:5.7.18-1.el7 would be installed--> Processing dependency:libstdc++.so.6 (glibcxx_3.4.15) (64bit) for package: Mysql-community-client-5.7.18-1.el7.x86_64--> Processing dependency:libc.so.6 (glibc_2.14) (64bit) for package:mysql-community-client-5.7.18-1.el7.x86_64 --Package mysql-community-libs.x86_64 0:5.7.18-1.el7 would be installed--> Processing dependency:libc.so.6 (glibc_2.14) (64bit) for package:mysql-community-libs-5.7.18-1.el7.x86_64 --Package mysql-community-server.x86_64 0:5.7.18-1.el7 would be installed--> Processing dependency:systemd for package:mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:systemd for package:mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:libstdc++.so.6 (glibcxx_3.4.15) (64bit) for package: Mysql-community-server-5.7.18-1.el7.x86_64--> Processing dependency:libc.so.6 (glibc_2.17) (64bit) for package:mysql-community-server-5.7.18-1.el7.x86_64 --> finished Dependency Resolutionerror:package:mysql-community-client-5.7. --1. el7.x86_64 (mysql57-community) REQUIRES:LIBSTDC++.so.6(Glibcxx_3.4.15) (64bit) Error:Package:mysql-community-server-5.7. --1. el7.x86_64 (mysql57-community) Requires:libc.so.6(glibc_2. -) (64bit) Error:Package:mysql-community-client-5.7. --1. el7.x86_64 (mysql57-community) Requires:libc.so.6(glibc_2. -) (64bit) Error:Package:mysql-community-libs-5.7. --1. el7.x86_64 (mysql57-community) Requires:libc.so.6(glibc_2. -) (64bit) Error:Package:mysql-community-server-5.7. --1. el7.x86_64 (mysql57-community) REQUIRES:LIBSTDC++.so.6(Glibcxx_3.4.15) (64bit) Error:Package:mysql-community-server-5.7. --1. el7.x86_64 (mysql57-community) Requires:systemd you could try using--Skip-broken To work around the problemYou could try Running:rpm-va--nofiles--nodigest[Email protected] ~]#

Search on the Internet a lot of there is said to be 5.7 need to have more than 1GB of memory has not seen the effect, and some also said to execute Yum remove mysql-lib* and then perform the Yum update update in the installation can not

Later found an article that this is due to the different installation sequence leads to the mutual dependence of the problem according to the following method can be resolved. I re-installed a virtual machine, is CENTOS7, the implementation of the installation found to solve the problems encountered before, but the 6.5 version of the test, I do not know can be.

[[email protected] share]# RPM-IVH mysql57-community-release-el7-11.noarch.rpm Warning:                          Mysql57-community-release-el7-11.noarch.rpm:header V3 dsa/sha1 Signature, key ID 5072e1f5:nokeypreparing ...   ################################# [100%]updating/installing ... 1:mysql57-community-release-el7-11 ################################# [100%][[email protected] share]# Yum                               Install mysql-community-serverloaded Plugins:fastestmirror, langpacksmysql-connectors-community | 2.5 KB 00:00 mysql-tools-community | 2.5 KB 00:00 mysql57-community |  2.5 KB 00:00 (1/3): mysql-connectors-community/x86_64/primary_db | KB 00:00 (2/3): mysql57-community/x86_64/primary_db |  106 KB 00:00 (3/3): mysql-tools-community/x86_64/primary_db | KB 00:01 Loading Mirror speeds from cached hostfile * base:mirrors.yun-idc.com * extras:mirrors.btte.net * updates:mirror.bit.edu.cnResolving dependencies--> Running t Ransaction Check---> Package mysql-community-server.x86_64 0:5.7.18-1.el7 'll be installed--> processing Dependency:mysql-community-common (x86-64) = 5.7.18-1.el7 for package:mysql-community-server-5.7.18-1.el7.x86_64-- > Processing dependency:mysql-community-client (x86-64) >= 5.7.9 for package: mysql-community-server-5.7.18-1.el7.x86_64--> Running Transaction Check---> Package Mysql-community-client.x86_64 0:5.7.18-1.el7 'll be installed--> processing dependency:mysql-community-libs ( x86-64) >= 5.7.9 for package:mysql-community-client-5.7.18-1.el7.x86_64---> Package mysql-community-common.x86 _64 0:5.7.18-1.el7 'll be installed--> Running transaction Check---> Package mariadb-libs.x86_64 1:5.5.52-1.el7 wi ll be obsoleted--> processing dependency:libmysqlclient.so.18 () (64bit) for package:2:postfix-2.10.1-6.el7.x86_64- PrOcessing dependency:libmysqlclient.so.18 (libmysqlclient_18) (64bit) for package:2:postfix-2.10.1-6.el7.x86_64--- > Package mysql-community-libs.x86_64 0:5.7.18-1.el7 'll be obsoleting--> Running transaction Check---> Package mysql-community-libs-compat.x86_64 0:5.7.18-1.el7 'll be obsoleting--> finished Dependency Resolutiondependencies resolved================================================================================ Package Arch Version Repository size============================================ ====================================installing:mysql-community-libs x86_64 5.7.18-1.EL7 mysql57-community 2 .1 M replacing mariadb-libs.x86_64 1:5.5.52-1.el7 mysql-community-libs-compat x86_64 5.7.18-1.el7 Mysql57-commu Nity 2.0 M replacing mariadb-libs.x86_64 1:5.5.52-1.el7 mysql-community-server x86_64 5.7.18-1.el7 mysql5 7-community 162 minstalling for Dependencies:mysql-community-client      x86_64 5.7.18-1.el7 mysql57-community M mysql-community-common x86_64 5.7.18-1.el7 Mysql57-comm Unity 271 Ktransaction summary================================================================================ Install 3 Packages (+2 Dependent Packages) Total download size:190 MIs this ok [y/d/n]: ydownloading packages:warning:/V Ar/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-common-5.7.18-1.el7.x86_64.rpm:header V3 DSA/ SHA1 Signature, key ID 5072e1f5:nokeypublic key for mysql-community-common-5.7.18-1.el7.x86_64.rpm are not installed (1/5) : mysql-community-common-5.7.18-1.el7.x86_64.rpm | 271 KB 00:02 (2/5): mysql-community-libs-5.7.18-1.el7.x86_64.rpm | 2.1 MB 00:07 (3/5): mysql-community-libs-compat-5.7.18-1.el7.x86_64.rpm |  2.0 MB 00:10 (4/5): mysql-community-client-5.7.18-1.el7.x86_64.rpm | MB 01:47 (5/5): mysql-community-server-5.7.18-1.el7.x86_64.rpm | 162 MB 11:53--------------------------------------------------------------------------------Total 265 kb/s | 12:15 MB retrieving key from File:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysqlImporting GPG key 0x5072e1f5:userid: "MySQL Release Engineering <[email protected]>" fingerprint:a4a9 4068 76fc bd3c 4567 70c8 8c71 8d3b 5072 e1f5  Package:mysql57-community-release-el7-11.noarch (installed) from:/etc/pki/rpm-gpg/rpm-gpg-key-mysqlis this OK [y/n]: yrunning transaction checkrunning transaction testtransaction test succeededrunning transaction installing:mysq                     l-community-common-5.7.18-1.el7.x86_64 1/6 installing:mysql-community-libs-5.7.18-1.el7.x86_64 2/6 installing:mysql-community-client-5.7.18-1.el7.x86_64 3/6 Installing:mysql-co              mmunity-server-5.7.18-1.el7.x86_64 4/6 installing:mysql-community-libs-compat-5.7.18-1.el7.x86_64 5/6 Erasing:1:mariadb-libs-5.5.52-1.el7.x86_64 6/6 Verifying:mysql-community-server-5.7.18-1.el   7.x86_64 1/6 verifying:mysql-community-common-5.7.18-1.el7.x86_64 2/6 Verifying : mysql-community-client-5.7.18-1.el7.x86_64 3/6 VERIFYING:MYSQL-COMMUNITY-LIBS-COMPAT-5.7.18-1.E l7.x86_64 4/6 verifying:mysql-community-libs-5.7.18-1.el7.x86_64 5/6 Verifying:                                      1:mariadb-libs-5.5.52-1.el7.x86_64 6/6 installed:mysql-community-libs.x86_64 0:5.7.18-1.el7 mysql-community-libs-compat.x86_64 0:5.7.18-1.el7 mysql-c ommunity-server.x86_64 0:5.7.18-1.el7 Dependency Installed:mysql-community-client.x86_6                                  4 0:5.7.18-1.el7 mysql-community-common.x86_64 0:5.7.18-1.el7 Replaced:mariadb-libs.x86_64 1:5.5.52-1.el7 complete! 

CENTOS7 installation mysql5.7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.