赞
踩
注意:如果是用centos7安装的话,在安装部署之前记得卸载系统自带的mariadb组件。可用命令 yum remove -y mariadb*卸载
在这里我用的是清华大学镜像站的yum源仓库,也可以自己去官网找
地址:https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql-8.0-community-el7-x86_64/
进到以上该网站后下滑到最后随便选择一个版本下载,这里我自己选择第三个下载
下载完该yum仓库的rpm包后将这个包上传到你的主机里并执行安装命令
[root@node04 ~]# ll total 32 -rw-------. 1 root root 1303 Nov 25 23:13 anaconda-ks.cfg -rw-r--r-- 1 root root 26024 May 9 09:31 mysql80-community-release-el7-3.noarch.rpm[root@node04 ~]# ll total 32 -rw-------. 1 root root 1303 Nov 25 23:13 anaconda-ks.cfg -rw-r--r-- 1 root root 26024 May 9 09:31 mysql80-community-release-el7-3.noarch.rpm ##这个就是上传的包 ####执行安装命令 [root@node04 ~]# yum install -y mysql80-community-release-el7-3.noarch.rpm Loaded plugins: fastestmirror Examining mysql80-community-release-el7-3.noarch.rpm: mysql80-community-release-el7-3.noarch Marking mysql80-community-release-el7-3.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package mysql80-community-release.noarch 0:el7-3 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================= Package Arch Version Repository Size ================================================================================================================= Installing: mysql80-community-release noarch el7-3 /mysql80-community-release-el7-3.noarch 31 k Transaction Summary
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。