I previously published stored programs to help implement a (more) comprehensive password policy in MySQL 5.6, building on the password complexity plugin now available in MySQL 5.6. This proof-of-concept has been expanded recently, and the updated package is available here. There’s a few notable changes to the earlier version:
Moved all created objects out of mysql system database
The mysql database is meant for system tables, and I try to keep everything not directly managed by the MySQL server out of that database. The initial proof-of-concept implementation violated this principal – the update corrects this by creating and using a new password_policy database …
[Read more]