MySQL Installation

We will be installing the package thats maintained directly by MySQL. Thus, we need to manually add their repository and install from there. Note that MySQL and MariaDB are similar, but conflict with each other. Do not install MariaDB.

  1. Install official MySQL repository. A list of current repos can be found here

    dnf install https://repo.mysql.com/mysql80-community-release-fc35-2.noarch.rpm
    dnf update
  2. Install required packages:

    dnf install -y mysql-community-common mysql-community-server
  3. Enable and start the MySQL service daemon:

    systemctl enable --now mysqld
  4. Print the temporary MySQL password. (Needed for the installation script on the next step.)

    grep 'temporary password' /var/log/mysqld.log
  5. Run the secure installation script. Complete the various prompts and save the new password in Bitwarden. It should be assigned to the Xenter org and the IT collection.

    mysql_secure_installation