Today I found this nice mysql “feature”:
mysql> set password for user@host = old_password("foobar"); ERROR 2013 (HY000): Lost connection to MySQL server during query
This command generated a nice log:
mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail.
Always nice on a production system! In fact the command above crashed the MySQL server because not grant rule was define for user@host in the mysql.db table! (My server is a release 4.1.15)