In MySQL 5.7, the server provides an interface for writing plugins that test passwords. Such a plugin implements two capabilities:
Rejection of too-weak passwords in statements that assign
passwords (such as
SET PASSWORD statements),
and passwords given as arguments to the
Assessing the strength of potential passwords for the
For information about writing this type of plugin, see Section 220.127.116.11, “Writing Password-Validation Plugins”.