MySQL官網下載安裝yum/rpm步驟

一、打開瀏覽器搜索 mysql
MySQL官網下載安裝yum/rpm步驟mysql

二、點擊導航欄 "下載"
MySQL官網下載安裝yum/rpm步驟sql

三、下拉 點擊 "社區版"
MySQL官網下載安裝yum/rpm步驟瀏覽器

四、找YUM庫
MySQL官網下載安裝yum/rpm步驟ide

五、下載yumrpm文件
MySQL官網下載安裝yum/rpm步驟
MySQL官網下載安裝yum/rpm步驟3d

六、卸載系統自帶的mariadb
MySQL官網下載安裝yum/rpm步驟server

七、安裝.rpm
[root@test tools]# rpm -ivh mysql80-community-release-el7-3.noarch.rpmblog

八、yum安裝
[root@test tools]# yum install mysql-server -yip

九、初始化MySQL
[root@test tools]# mysqld --initializeit

十、給執行權限
[root@test tools]# chown -R mysql:mysql /var/lib/mysql社區

十一、修改配置文件爲無密碼登陸
[root@test tools]# vi /etc/my.cnf
底部加入: skip-grant-tables

十二、啓動MySQL 並登陸
MySQL官網下載安裝yum/rpm步驟

相關文章
相關標籤/搜索