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

How to compile and run a next application ?

Install nodejs Use  this  link for further reading curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash nvm inst...