Tutorial MySQL 8 on CentOS 7

Lipaydi

1337
VIP
Jul 23, 2015
44
64
112
2191

Install
yum -y install https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm // Add repository to your server

yum -y install mysql-community-server // Install MySQL Server

systemctl start mysqld.service // Start MySQL Service

systemctl enable mysqld.service // Enable MySQL Service for autoruns

grep 'A temporary password is generated for root@localhost' /var/log/mysqld.log |tail -1 // Get MySQL created password
2192

/usr/bin/mysql_secure_installation // Configure and complete mysql installation

Gist: https://gist.github.com/ckorkmaz/3db3bb33a06a310f75ae406391393b96

Thanks.
 
Last edited:
Top