Solve the problem that yuminstallmysql-server does not have available packages in CentOS7

Source: Internet
Author: User
[Plain] viewplaincopy # wgethttp: // repo.mysql.com/mysql-community-release-el7-5.noarch.rpm--http://repo.my [Plain]View plaincopy
  1. # Wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

Http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

 

Parsing host repo.mysql.com (repo.mysql.com)... 23.4.241.142
Connecting repo.mysql.com (repo.mysql.com) | 23.4.241.142 |: 80... already connected.
An HTTP request has been sent and is waiting for response... 200 OK
Length: 6140 (6.0 K) [application/x-redhat-package-manager]
Saving to: mysql-community-release-el7-5.noarch.rpm"
100% [============================================== >] 6,140 --. -0 s for K/s

(467 MB/s)-saved mysql-community-release-el7-5.noarch.rpm [6140/6140])

 

[Plain]View plaincopy
  1. # Ls

 

Mysql-community-release-el7-5.noarch.rpm
[Plain]View plaincopy
  1. # Rpm-ivh mysql-community-release-el7-5.noarch.rpm
Preparing... ################################# [100%]
Upgrading/installing...

1: mysql-community-release-el7-5 ################################# [100%]

 

[Plain]View plaincopy
  1. # Ls-1/etc/yum. repos. d/mysql-community *
/Etc/yum. repos. d/mysql-community.repo

 

/Etc/yum. repos. d/mysql-community-source.repo

 

[Plain]View plaincopy
  1. # Yum install mysql-server

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.