当前位置:Gxlcms > 数据库问题 > 下载MySQL的rpm包安装MySQL

下载MySQL的rpm包安装MySQL

时间:2021-07-01 10:21:17 帮助过:4人阅读

cd /usr/local/src

wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-server-5.7.27-1.el7.x86_64.rpm
wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-client-5.7.27-1.el7.x86_64.rpm
wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-libs-5.7.27-1.el7.x86_64.rpm
wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-community-common-5.7.27-1.el7.x86_64.rpm

yum remove mariadb-libs
yum install net-tools
yum install *.rpm


systemctl status mysqld.service
systemctl start mysqld.service

# 查看默认密码
grep 'temporary password' /var/log/mysqld.log
liykpntuu9?C

下载MySQL的rpm包安装MySQL

标签:emc   mysq   load   安装   move   lib   sql   code   start   

人气教程排行