centos7下mysql8安装
wget -i -c https://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm
rpm -ivh mysql80-community-release-el7-7.noarch.rpm
yum update
报错
用
yum update --nogpgcheck ok了
yum install mysql-server
设置开机启动
systemctl enable jenkins.service
注意
1、/etc/my.conf 最后不带/
datadir=/service/mysql/data
2、centos 7 必须关掉,永久关掉selinux,不然mysql还目录不成功,会报没权限