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 18.104.22.168, “Writing Password-Validation Plugins”.