更改

跳转至: 导航搜索

如何提高全新安装MySQL的安全性

删除5字节, 2022年3月24日 (四) 20:46
恢复45.77.171.9讨论)的编辑至111.19.44.29的最后版本
新安装的MySQL或者MariaDB可以按照以下步骤提高安全性。
1.输入“mysql_secure_installation”并按回车键开始,输入安装过程为root用户生成的临时密码。
[[File:MySQLInit1.PNG]]
[[File:MySQLInit2.PNG]]
4.提示 'validate_password'插件已经安装并且本次设置的新密码强度为100(如果为25或者50则建议增加密码复杂度),所以输入n取消再次修改密码。
There are three levels of password validation policy: //共分三个级别的密码策略 LOW Length >= 8 //最低级别 MEDIUM Length >= 8, numeric, mixed case, and special characters //中等级别,大于8位且包含大小写字母,数字,特殊字符。
STRONG Length >= 8, numeric, mixed case, special characters and dictionary file //最高级别,大于8位且包含大小写字母,数字,特殊字符,字典文件。
[[File:MySQLInit3.PNG]]
1,138
个编辑

导航菜单