In a web browser, visit mysql.com page:
https://dev.mysql.com/downloads/repo/yum/
Locate the desired version, and update it as needed in the link below:
Execute the following command:
dnf install mysql-server
enable mysql services:
systemctl enable mysqld
start mysql services
systemctl start mysqld
configuring mysql server
sudo mysql_secure_installation
stop mysql service
systemctl stop mysqld
view mysql status
systemctl status mysqld
时间: 2024-12-30 18:21:11