Skip to content

MySQL on RHEL/Centos7.x

Installation of Mysql57 community server on Centos/RHel7

$ sudo yum update -y
$ sudo wget https://repo.mysql.com//mysql57-community-release-el7-11.noarch.rpm
$ sudo rpm -Uvh mysql57-community-release-el7-11.noarch.rpm
$ sudo yum update -y
$ sudo yum install mysql-community-server
$ sudo systemctl start mysqld.service
$ sudo grep 'temporary password' /var/log/mysqld.log
$ mysql -uroot -p
$ ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';
$ mysql_secure_installation

 

Shashi View All

A passionate devops and automation engineer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: