- 输入Y删除匿名用户账号 。By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y #是否删除匿名用户,输入Y Success.
- 输入Y禁止root账号远程登录 。Disallow root login remotely? (Press y|Y for Yes, any other key for No) : Y #禁止root远程登录,输入Y Success.
- 输入Y删除test库以及对test库的访问权限 。Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y #是否删除test库和对它的访问权限,输入Y - Dropping test database... Success.
- 输入Y重新加载授权表 。Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y #是否重新加载授权表,输入Y Success. All done!

文章插图
推荐阅读
- CentOS6和CentOS7的区别
- Centos7 使用 Ansible 批量安装中文字体
- 如何使用 Go 语言搭建企业级高并发服务器?
- 为什么我们叫碳基生命?因为一切生命物质都是基于碳元素搭建
- centos7系统Firewalld防火墙教程
- CentOS7分布式部署open-falcon0.3.0实践
- Linux Centos7防火墙
- 教你Centos7中使用7zip压缩工具
- mac docker搭建开发环境
- Windows版本教程 人手一套Linux环境搭建
