enable logging of password-like patterns in mysql client history
Working on a project with db columns like "password_hash", this behavior was at first very confusing and then over time, simply maddening.  There appears to be no way to disable this.

Here's an evil hack that I only resorted to out of desperation after other workarounds failed:

cp /usr/bin/mysql ~/bin     # copy to local bin dir
vim ~/bin/mysql             # vim can edit binary files
/PASSWORD                   # search for the offending string
RPWXUK4FD [ESC]             # overtype w/ string unlikely to ever match
:wq                         # save &amp; quit


This assumes that you already have a ~/bin directory and it is listed before /usr/bin in your $PATH