shell> wget https://dev.Mysql.com/get/Downloads/mysql-5.7/mysql-5.7.18-1.el7.x86_64.rpm-bundle.tarsh
shell> wget https://dev.Mysql.com/get/Downloads/mysql-5.7/mysql-5.7.18-1.el7.x86_64.rpm-bundle.tar
shell> tar xvf mysql-5.7.18-1.el7.x86_64.rpm-bundle.tar
shell> 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
--结束END--
本文标题: 在CentOS 7上使用RPM包安装MySQL 5.7
本文链接: https://lsjlt.com/news/40648.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0