MySQL Lab Installation Query

Hi,

Just curious to understand why we need to do 2 yum installs:

  1. sudo yum install https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
  2. sudo yum install mysql-community-server

Thanks.

Hello @kaziz99,
First, you add the MySQL Yum repository to your system’s repository list. This is a one-time operation, which can be performed by installing an RPM provided by MySQL
And then install your packages.

1 Like

Hi @Ayman so the first command is in effect creating a .repo file in /etc/yum.repo.d/ behind the scenes so to speak?

Hello @kaziz99,
Yes, that’s correct.

Thanks @Ayman - much appreciated.