As of MySQL 5.6.6, 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 22.214.171.124, “Writing Password-Validation Plugins”.