The recent MySQL 5.6.6 release includes a new password verification plugin. This is a great tool for enforcing passwords that meet certain strength thresholds. Quoting the options from the manual, there are three different criteria levels that can be applied:
-
WEAK
policy tests password length only. Passwords must be at least 8 characters long. -
MEDIUM
policy adds the conditions that passwords must contain at least 1 numeric character, 1 lowercase and uppercase character, and 1 special (nonalphanumeric) character. -
STRONG
policy adds the condition that password substrings of length 4 or longer must not match words in the dictionary file, if one has been specified.
Note that the definitions for WEAK and MEDIUM include references …
[Read more]