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
Enjoy ;)
No comments:
Post a Comment