K&
随笔 - 71,  文章 - 0,  评论 - 7,  阅读 - 53084

 

mysql官方安装网址资源页

https://dev.mysql.com/downloads/

 

 

复制代码
[root@master ~]# yum repolist all | grep mysql
Repository epel is listed more than once in the configuration
mysql-cluster-7.5-community/x86_64 MySQL Cluster 7.5 Community disabled
mysql-cluster-7.5-community-source MySQL Cluster 7.5 Community disabled
mysql-cluster-7.6-community/x86_64 MySQL Cluster 7.6 Community disabled
mysql-cluster-7.6-community-source MySQL Cluster 7.6 Community disabled
mysql-cluster-8.0-community/x86_64 MySQL Cluster 8.0 Community disabled
mysql-cluster-8.0-community-source MySQL Cluster 8.0 Community disabled
mysql-connectors-community/x86_64  MySQL Connectors Community  enabled:      230
mysql-connectors-community-source  MySQL Connectors Community  disabled
mysql-tools-community/x86_64       MySQL Tools Community       enabled:      138
mysql-tools-community-source       MySQL Tools Community - Sou disabled
mysql-tools-preview/x86_64         MySQL Tools Preview         disabled
mysql-tools-preview-source         MySQL Tools Preview - Sourc disabled
mysql57-community/x86_64           MySQL 5.7 Community Server  disabled
mysql57-community-source           MySQL 5.7 Community Server  disabled
mysql80-community/x86_64           MySQL 8.0 Community Server  enabled:      321
mysql80-community-source           MySQL 8.0 Community Server  disabled
复制代码

 

[root@master ~]# yum-config-manager --enable mysql57-community

 

复制代码
[root@master ~]# yum-config-manager --enable mysql57-community
Loaded plugins: fastestmirror, langpacks, product-id, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Repository epel is listed more than once in the configuration
================================================================== repo: mysql57-community ===================================================================
[mysql57-community]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7
baseurl = http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64
cache = 0
cachedir = /var/cache/yum/x86_64/7/mysql57-community
check_config_file_age = True
compare_providers_priority = 80
cost = 1000
deltarpm_metadata_percentage = 100
deltarpm_percentage =
enabled = 1
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/7/mysql57-community/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/7/mysql57-community/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022,
   file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
hdrdir = /var/cache/yum/x86_64/7/mysql57-community/headers
http_caching = all
includepkgs =
ip_resolve =
keepalive = True
keepcache = False
mddownloadpolicy = sqlite
mdpolicy = group:small
mediaid =
metadata_expire = 21600
metadata_expire_filter = read-only:present
metalink =
minrate = 0
mirrorlist =
mirrorlist_expire = 86400
name = MySQL 5.7 Community Server
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/7/mysql57-community
pkgdir = /var/cache/yum/x86_64/7/mysql57-community/packages
proxy = False
proxy_dict =
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
ui_id = mysql57-community/x86_64
ui_repoid_vars = releasever,
   basearch
username =

[root@master ~]# yum repolist all | grep mysql
Repository epel is listed more than once in the configuration
mysql-cluster-7.5-community/x86_64 MySQL Cluster 7.5 Community disabled
mysql-cluster-7.5-community-source MySQL Cluster 7.5 Community disabled
mysql-cluster-7.6-community/x86_64 MySQL Cluster 7.6 Community disabled
mysql-cluster-7.6-community-source MySQL Cluster 7.6 Community disabled
mysql-cluster-8.0-community/x86_64 MySQL Cluster 8.0 Community disabled
mysql-cluster-8.0-community-source MySQL Cluster 8.0 Community disabled
mysql-connectors-community/x86_64  MySQL Connectors Community  enabled:      230
mysql-connectors-community-source  MySQL Connectors Community  disabled
mysql-tools-community/x86_64       MySQL Tools Community       enabled:      138
mysql-tools-community-source       MySQL Tools Community - Sou disabled
mysql-tools-preview/x86_64         MySQL Tools Preview         disabled
mysql-tools-preview-source         MySQL Tools Preview - Sourc disabled
mysql57-community/x86_64           MySQL 5.7 Community Server  enabled:      564
mysql57-community-source           MySQL 5.7 Community Server  disabled
mysql80-community/x86_64           MySQL 8.0 Community Server  enabled:      321
mysql80-community-source           MySQL 8.0 Community Server  disabled
复制代码

 

[root@master yum.repos.d]# yum install -y mysql-community-server.x86_64

 

posted on   K&  阅读(55)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 2025年我用 Compose 写了一个 Todo App
· 张高兴的大模型开发实战:(一)使用 Selenium 进行网页爬虫

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示