x86环境 centos7.5.1804 yum安装mysql5.7
Posted 闭关苦炼内功
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了x86环境 centos7.5.1804 yum安装mysql5.7相关的知识,希望对你有一定的参考价值。
x86 环境 centos7.5.1804 yum 安装 mysql5.7
sudo wget http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm
sudo yum -y install mysql57-community-release-el7-10.noarch.rpm
sudo yum -y install mysql-community-server
sudo systemctl status mysqld
sudo systemctl start mysqld
sudo systemctl status mysqld
sudo grep "password" /var/log/mysqld.log
mysql -uroot -p'xxxxxx1'
ALTER USER 'root'@'localhost' IDENTIFIED BY 'xxxxxx2';
flush privileges;
mysql -uroot -p'xxxxxx2'
yum repolist
sudo yum -y remove mysql57-community-release-el7-10.noarch
yum repolist
以上是关于x86环境 centos7.5.1804 yum安装mysql5.7的主要内容,如果未能解决你的问题,请参考以下文章