Installing MySQL

RHEL 9.0 provides MySQL 8.0 as the initial version of this Application Stream, which you can install easily as an RPM package.

To install MySQL, use the following procedure.

Procedure

  1. Install MySQL server packages:# dnf install mysql-server
  2. Start the mysqld service:# systemctl start mysqld.service
  3. Enable the mysqld service to start at boot:# systemctl enable mysqld.service
  4. Recommended: To improve security when installing MySQL, run the following command:$ mysql_secure_installation

Leave a Reply

Your email address will not be published. Required fields are marked *