Linux 上安装 Mysql 设置root密码问题
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Linux 上安装 Mysql 设置root密码问题,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1518字,纯文字阅读大概需要3分钟。
内容图文
![Linux 上安装 Mysql 设置root密码问题](/upload/InfoBanner/zyjiaocheng/509/f8d640d34363429796667658413d460d.jpg)
安装完可以直接使用,但是新版本在安装过程中没有提示设置root用户密码,使用如下方法设置:
sudo mysql_secure_installation
过程中提示是否开启 VALIDATE PASSWORD PLUGIN,就是设置密码强度检查,自行选择:
VALIDATE PASSWORD PLUGIN can be used to test passwords and improve security. It checks the strength of password and allows the users to set only those passwords which are secure enough. Would you like to setup VALIDATE PASSWORD plugin? Press y|Y for Yes, any other key for No:
选择是的话会让你选择等级:
LOW Length >= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG:
然会会让你输入root密码,注意一定要符合上面你选择的要求:
Please set the password for root here. New password: Re-enter new password:
输入完之后会显示你的密码的安全性,并提示你是否确认使用这个:
Estimated strength of the password: 50 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y
之后就是一些其他方面的设置。。。
最后注意会提示你是否重新加载权限表格:
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y Success.
Linux 上安装 Mysql 设置root密码问题
标签:get 过程 安装mysql MIXED ali 显示 apt-get secure rds
本文系统来源:https://www.cnblogs.com/zoneofmine/p/11031146.html
内容总结
以上是互联网集市为您收集整理的Linux 上安装 Mysql 设置root密码问题全部内容,希望文章能够帮你解决Linux 上安装 Mysql 设置root密码问题所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。