赞
踩
tar -xvf mysql-8.0.28-1.el7.x86_64.rpm-bundle.tar -C mysql-8.0.28/
yum install openssl-devel
sudo rpm -ivh package1.rpm package2.rpm package3.rpm ...
执行启动命令
systemctl start mysqld
设置mysql自启动(根据自己需要)
sudo systemctl enable mysqld
cat /var/log/mysqld.log
ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password@123';
create user 'demouser'@'%' IDENTIFIED WITH mysql_native_password BY 'Password@123';
grant all on *.* to 'demouser'@'%';
sudo rpm -ivh compat-openssl10-1.0.2o-3.el8.x86_64.rpm
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。