在CentOS 7上使用RPM包安装MySQL 5.7

前端之家收集整理的这篇文章主要介绍了在CentOS 7上使用RPM包安装MySQL 5.7前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

shell> wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.18-1.el7.x86_64.rpm-bundle.tarshell> tar xvf MysqL-5.7.18-1.el7.x86_64.rpm-bundle.tarshell> sudo yum install MysqL-community-{server,client,common,libs}-* shell> vi /etc/my.cnf validate_password_policy=LOW :wq shell> sudo service MysqLd start shell> sudo grep 'temporary password' /var/log/MysqLd.log shell> MysqL_secure_installation shell> MysqL -u root -p

原文链接:https://www.f2er.com/centos/377620.html

猜你在找的CentOS相关文章