In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Download the installation package on the MySQL official website
[root@hashow-db-master resource] # tar-xvf mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar
[root@hashow-db-master resource] # ls
DATALOSS_WARNING_README.txt mysql-community-common-5.7.22-1.el7.x86_64.rpm mysql-community-libs-compat-5.7.22-1.el7.x86_64.rpm
Lost+found mysql-community-devel-5.7.22-1.el7.x86_64.rpm mysql-community-minimal-debuginfo-5.7.22-1.el7.x86_64.rpm
Lrzsz-0.12.20 mysql-community-embedded-5.7.22-1.el7.x86_64.rpm mysql-community-server-5.7.22-1.el7.x86_64.rpm
Lrzsz-0.12.20.tar.gz mysql-community-embedded-compat-5.7.22-1.el7.x86_64.rpm mysql-community-server-minimal-5.7.22-1.el7.x86_64.rpm
Mysql-5.7.22-1.el7.x86_64.rpm-bundle.tar mysql-community-embedded-devel-5.7.22-1.el7.x86_64.rpm mysql-community-test-5.7.22-1.el7.x86_64.rpm
Mysql-community-client-5.7.22-1.el7.x86_64.rpm mysql-community-libs-5.7.22-1.el7.x86_64.rpm swapfile
[root@hashow-db-master resource] # rpm-ivh mysql-community-libs-5.7.22-1.el7.x86_64.rpm
Warning: mysql-community-libs-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Error: Failed dependencies:
Mysql-community-common (x86-64) > = 5.7.9 is needed by mysql-community-libs-5.7.22-1.el7.x86_64
Mariadb-libs is obsoleted by mysql-community-libs-5.7.22-1.el7.x86_64
View system version
[root@hashow-db-master resource] # cat / etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
In the Linux system, if you want to use a relational database, you basically use mysql, and the previous versions of centos below 7
The system is integrated with mysql by default. However, for the latest centos7 system, mysql database is no longer supported, it defaults to
Maridb is integrated internally. If we want to use mysql, we must uninstall the original maridb first, otherwise it will cause conflicts.
Command: rpm-qa | grep maridb
[root@hashow-db-master resource] # rpm-e mariadb-libs-5.5.52-1.el7.x86_64
Error: Failed dependencies:
Libmysqlclient.so.18 () (64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64
Libmysqlclient.so.18 (libmysqlclient_18) (64bit) is needed by (installed) postfix-2:2.10.1-6.el7.x86_64
Uninstall prompts for dependent packages, force uninstall
[root@hashow-db-master resource] # rpm-e-- nodeps mariadb-libs-5.5.52-1.el7.x86_64
To start installing MySQL5.7.22, install it in the order of the rpm package:
[root@hashow-db-master resource] # rpm-ivh mysql-community-common-5.7.22-1.el7.x86_64.rpm
Warning: mysql-community-common-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... # # [100%]
Updating / installing...
1:mysql-community-common-5.7.22-1.e## [100%]
[root@hashow-db-master resource] # rpm-ivh mysql-community-libs-5.7.22-1.el7.x86_64.rpm
Warning: mysql-community-libs-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... # # [100%]
Updating / installing...
1:mysql-community-libs-5.7.22-1.el7## [100%]
[root@hashow-db-master resource] # rpm-ivh mysql-community-client-5.7.22-1.el7.x86_64.rpm
Warning: mysql-community-client-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... # # [100%]
Updating / installing...
1:mysql-community-client-5.7.22-1.e## [100%]
[root@hashow-db-master resource] # rpm-ivh mysql-community-server-5.7.22-1.el7.x86_64.rpm
Warning: mysql-community-server-5.7.22-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Preparing... # # [100%]
Updating / installing...
1:mysql-community-server-5.7.22-1.e## [100%]
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.