1080*80 ad

Installing MySQL 8 on Fedora 30 and Fedora 29

Getting MySQL 8 up and running on your Fedora system, specifically versions like Fedora 30 or 29, is a straightforward process when you follow the correct steps. The key is to utilize the official MySQL repository to ensure you install the latest, stable version directly compatible with your Fedora release.

The first step involves adding the MySQL Yum repository configuration file to your system. This file tells your Fedora package manager where to find the MySQL 8 packages. Once the repository is added, you can then proceed with the installation of the MySQL server.

Using DNF, which is the default package manager for Fedora, you simply execute the command to install the mysql-server package. DNF will automatically pull the necessary files from the repository you just added. After the installation completes successfully, the next crucial step is to start the MySQL service.

You use the systemctl command to start the mysqld service and also enable it to start automatically upon boot. This ensures that your database server is running whenever your system is online.

Finally, and this is perhaps the most critical step for security, you must run the mysqlsecureinstallation script. This interactive script guides you through essential security measures. It allows you to set a strong root password, remove anonymous users, disallow remote root login, and remove the test database. Completing this secure installation is vital before using your new MySQL 8 server for any serious purpose. Following these steps ensures a proper and secure installation of MySQL 8 on your Fedora workstation or server.

Source: https://kifarunix.com/install-mysql-8-on-fedora-30-fedora-29/

900*80 ad

      1080*80 ad