Install MYSQL Server Community
prereq Get repository wget https://repo.mysql.com//mysql57-community-release-el7-11.noarch.rpm sudo rpm -ivh mysql57-community-release-el7-11.noarch.rpm Get key mysql rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 rpm -qa gpg-pubkey* ls -l /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql Install Mysql Install mysql-server sudo yum install mysql-server Because MySQL is automatically installed you can use OS command for service management, for example to check if it’s already started sudo systemctl status mysqld Start MySQL if not started sudo systemctl start mysqld sudo systemctl enable mysqld sudo systemctl status mysqld Change root password Check the content of my.cnf, that is in default folder for linux OS and note the following info (lines that start with “#”are just comments) Where is the database and the error log (mysqld.log) stored? Check if there are error for the instance looking in the error log file Starting from MySQL 5.7 the default installation of MySQL Server generates a one-time password. You find it in error log notes above ...