MYSQL Server Installation step by step
For Debian follow this link and for MySQL5.7 you can follow this link
Enjoy ;)
$ yum remove `rpm -qa | grep mariadb`
$ yum install net-tools libxml2-devel.x86_64 libaio.x86_64 libaio-devel.x86_64 openssl.x86_64 openssl-devel.x86_64
$ wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-client-8.0.17-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-server-8.0.17-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-devel-8.0.17-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-common-8.0.17-1.el7.x86_64.rpm
$ wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-community-libs-8.0.17-1.el7.x86_64.rpm
$ rpm -i mysql-community-common-8.0.17-1.el7.x86_64.rpm
$ rpm -i mysql-community-libs-8.0.17-1.el7.x86_64.rpm
$ rpm -i mysql-community-client-8.0.17-1.el7.x86_64.rpm
$ rpm -i mysql-community-server-8.0.17-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 Debian follow this link and for MySQL5.7 you can follow this link
Enjoy ;)
No comments:
Post a Comment