MySQL Password Complexity

This is a patch to MySQL that will include two new configuration options: pass-min-length and pass-complexity. When setting a password they will be used to determin if the password complies with the specified password policy.

  • pass-min-length — Password must be at least this long. Default 8.
  • pass-complexity — Password must include characters upto 4 character sets (lower-case, upper-case, numeric, other). Default 3.

7 Responses to “MySQL Password Complexity”

  1. Can you help me and let know what lang this patch is written so that I could complile and check out !

    Thx

  2. Suresh, this patch is written in the same language as MySQL, C (with English resource strings).

  3. How do you install the patch?

  4. After downloading the source code use the unix “patch” command (also comes with cygwin for windows) to apply the patch then compile MySQL. Sadly there is no way to add to an already compiled MySQL install.

  5. hi,

    Can you please provide me how can we configure this patch…

  6. Do you have a working patch for version 5.1.34?

  7. ratheesh – You can apply the patch to the MySQL source (read up in the comments for how). After that you will have two new configuration parameters that can be set in the MySQL configuration file.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.