fedora29 安装mysql8.0

作者: wxfeng 分类: linux,数据库 发布时间: 2019-01-04 18:06

下载配置yum源

[root@localhost mysql]# wget https://dev.mysql.com/get/mysql80-community-release-fc29-1.noarch.rpm

[root@localhost mysql]# rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-fc29-1.noarch.rpm

查看

[root@localhost mysql]# yum repolist all | grep mysql
上次元数据过期检查:0:17:22 前,执行于 2019年01月04日 星期五 17时45分49秒。
mysql-connectors-community MySQL Connectors Community 启用: 13
mysql-connectors-community-source MySQL Connectors Community – Sour 禁用
mysql-tools-community MySQL Tools Community 启用: 6
mysql-tools-community-source MySQL Tools Community – Source 禁用
mysql-tools-preview MySQL Tools Preview 禁用
mysql-tools-preview-source MySQL Tools Preview – Source 禁用
mysql57-community MySQL 5.7 Community Server 禁用
mysql57-community-source MySQL 5.7 Community Server – Sour 禁用
mysql80-community MySQL 8.0 Community Server 启用: 11
mysql80-community-source MySQL 8.0 Community Server – Sour 禁用

安装

[root@localhost mysql]# yum install mysql-community-server

启动

[root@localhost mysql]# service mysqld start
Redirecting to /bin/systemctl start mysqld.service

[root@localhost mysql]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
● mysqld.service – MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2019-01-04 17:56:32 CST; 5s ago
Docs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 21257 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
Main PID: 21338 (mysqld)
Status: “SERVER_OPERATING”
Tasks: 38 (limit: 4915)
Memory: 577.7M
CGroup: /system.slice/mysqld.service
└─21338 /usr/sbin/mysqld

如果觉得我的文章对您有用,请随意赞赏。您的支持将鼓励我继续创作!

发表评论

电子邮件地址不会被公开。 必填项已用*标注