Centos7 Percona Server 5.7 YUM安装

# 安装 Percona Server 5.7

yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
yum install Percona-Server-server-57
systemctl enable mysqld
systemctl start mysqld


# 设置root密码

mysqladmin -uroot -p`cat /var/log/mysqld.log | grep 'temporary password' | awk '{print $NF}'` password '新密码'

标签: none

添加新评论