本篇內(nèi)容主要講解“服務(wù)器CentOS7怎么安裝MySQL 8.0”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實(shí)用性強(qiáng)。下面就讓小編來帶大家學(xué)習(xí)“服務(wù)器CentOS7怎么安裝MySQL 8.0”吧!
10年積累的成都網(wǎng)站設(shè)計(jì)、成都做網(wǎng)站經(jīng)驗(yàn),可以快速應(yīng)對(duì)客戶對(duì)網(wǎng)站的新想法和需求。提供各種問題對(duì)應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識(shí)你,你也不認(rèn)識(shí)我。但先做網(wǎng)站設(shè)計(jì)后付款的網(wǎng)站建設(shè)流程,更有郾城免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。
服務(wù)器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 # 處理相關(guān)依賴 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
到此,相信大家對(duì)“服務(wù)器CentOS7怎么安裝MySQL 8.0”有了更深的了解,不妨來實(shí)際操作一番吧!這里是創(chuàng)新互聯(lián)網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!