Pre-General Availability Draft: 2017-05-25
Database administrators should use the following guidelines to keep passwords secure.
MySQL stores passwords for user accounts in the
mysql.user table. Access to this table should
never be granted to any nonadministrative accounts.
Account passwords can be expired so that users must reset them. See Section 7.3.7, “Password Expiration Policy”, and Section 7.3.8, “Password Expiration and Sandbox Mode”.
validate_password plugin can be used to
enforce a policy on acceptable password. See
Section 7.5.3, “The Password Validation Plugin”.
A user who has access to modify the plugin directory (the value
variable) or the
my.cnf file that specifies
the plugin directory location can replace plugins and modify the
capabilities provided by plugins, including authentication
Files such as log files to which passwords might be written should be protected. See Section 18.104.22.168, “Passwords and Logging”.