Centos 6.5 安装 mysql 5.7

下载 mysql57-community-release-el6-9.noarch.rpm及mysql-community-server-5.7.17-1.el6.x86_64.rpm两个软件包

1.安装mysql57-community-release-el6-9.noarch.rpm

2.安装mysql依赖包

3.安装mysql-server

4.启动mysqld

5.查看mysql 5.7安装时的初始化密码

6.更改初始化密码

注:mysql5.7默认安装了密码安全检查插件(validate_password),默认密码检查策略要求密码必须包含:大小写字母、数字和特殊符号,并且长度不能少于8位。否则会提示ERROR 1819 (HY000): Your password does not satisfy the current policy requirements错误。如想更改密码策略请链接至:ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

 

2017-3-27 14:33:20

 

阅读剩余
THE END