[email protected] ~ / wget https://repo.mysql.c...">

当前位置:网站首页>Installing mysql8 under centos8

Installing mysql8 under centos8

2022-06-25 20:46:00 Nishino_ shou

CentOS8 Lower installation mysql8

install Yum Repository

[[email protected] ~]# wget https://repo.mysql.com//mysql80-community-release-el8-1.noarch.rpm

 

Use rpm To install MySQL
[[email protected] ~]# rpm -ivh mysql80-community-release-el8-1.noarch.rpm

 

Use yum install mysql service

[[email protected] ~]

 

Check if it has been set to boot MySQL service
[[email protected] ~]# systemctl list-unit-files|grep mysqld
mysqld.service disabled
[email protected] disabled

[[email protected] ~]# systemctl enable mysqld.service   # Set boot up
Created symlink /etc/systemd/system/multi-user.target.wants/mysqld.service → /usr/lib/systemd/system/mysqld.service.
[[email protected] ~]# systemctl list-unit-files|grep mysqld
mysqld.service enabled
[email protected] disabled

 

[[email protected] ~]# ps -ef|grep mysql # See if it starts MySQL service
root 4311 32702 0 21:07 pts/4 00:00:00 grep --color=auto mysql
[[email protected] ~]# systemctl start mysqld.service # Start the service

# yum install mysql-server

 

 

--------------------------------------------------

The article comes from https://www.cnblogs.com/ttrrpp/p/12173562.html

原网站

版权声明
本文为[Nishino_ shou]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202181339194382.html