码迷,mamicode.com
首页 > 数据库 > 详细

下载MySQL的rpm包安装MySQL

时间:2019-08-14 18:47:48      阅读:347      评论:0      收藏:0      [点我收藏+]

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

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   

原文地址:https://www.cnblogs.com/sanduzxcvbnm/p/11353884.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!