sudo dnf update sudo dnf install community-mysql-server -y # getting temporary password sudo grep 'temporary password' /var/log/mysqld.log # changing password sudo mysql_secure_installation