MySQL 5.7 Installation on CentOS 7

MYSQL Server Installation step by step
$ yum remobve mariadb-libs-5.5.56-2.el7.x86_64
$ yum install net-tools libxml2-devel.x86_64 libaio.x86_64 libaio-devel.x86_64
$ wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-client-5.7.23-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-server-5.7.23-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-devel-5.7.23-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-common-5.7.23-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-libs-5.7.23-1.el7.x86_64.rpm
$ rpm -i mysql-community-common-5.7.23-1.el7.x86_64.rpm
$ rpm -i mysql-community-libs-5.7.23-1.el7.x86_64.rpm
$ rpm -i mysql-community-client-5.7.23-1.el7.x86_64.rpm
$ rpm -i mysql-community-server-5.7.23-1.el7.x86_64.rpm
$ rpm -i mysql-community-devel-5.7.23-1.el7.x86_64.rpm
$ systemctl start mysqld
$ grep 'temporary password' /var/log/mysqld.log
2018-08-27T21:52:41.002744Z 1 [Note] A temporary password is generated for root@localhost: GyD?Srgeq0IC
$ mysql_secure_installation
$ mysqladmin -u root -p version
for MySQL8 you can follow this link 

Enjoy ;)

No comments:

Post a Comment

SIPp UAC Scenario to send RTP

Please install the latest sipp ( >=3.7.3 ) wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp chmor +x sipp mv sipp /usr/bin...