服务器CentOS7怎么安装MySQL8.0-创新互联
本篇内容主要讲解“服务器CentOS7怎么安装MySQL 8.0”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“服务器CentOS7怎么安装MySQL 8.0”吧!
创新互联是专业的海陵网站建设公司,海陵接单;提供网站设计制作、成都网站建设,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行海陵网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!服务器CentOS 7安装 MySQL 8.0
安装Mysql有两种方式:
----------------------------
直接下载官方的源(比较慢)
https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm # 下载rpm包 yum localinstall mysql80-community-release-el7-1.noarch.rpm # 处理相关依赖 yum install mysql-community-server # 安装
用163的源,分开安装
wget https://mirrors.163.com/mysql/Downloads/MySQL-8.0/mysql-community-common-8.0.18-1.el7.x86_64.rpm wget https://mirrors.163.com/mysql/Downloads/MySQL-8.0/mysql-community-libs-8.0.18-1.el7.x86_64.rpm wget https://mirrors.163.com/mysql/Downloads/MySQL-8.0/mysql-community-client-8.0.18-1.el7.x86_64.rpm wget https://mirrors.163.com/mysql/Downloads/MySQL-8.0/mysql-community-server-8.0.18-1.el7.x86_64.rpm rpm -ivh mysql-community-common-8.0.18-1.el7.x86_64.rpm # rpm下载 rpm -ivh mysql-community-libs-8.0.18-1.el7.x86_64.rpm rpm -ivh mysql-community-client-8.0.18-1.el7.x86_64.rpm rpm -ivh mysql-community-server-8.0.18-1.el7.x86_64.rpm
重启Mysql
service mysqld start
到此,相信大家对“服务器CentOS7怎么安装MySQL 8.0”有了更深的了解,不妨来实际操作一番吧!这里是创新互联网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!
当前名称:服务器CentOS7怎么安装MySQL8.0-创新互联
当前网址:http://azwzsj.com/article/hhjec.html