saltstack/salt — pull request #6225 by terminalmage (2013-07-18 23:26:16+00:00)
Title: Improve mysql error handling/reporting

Numerous try/excepts have been added to the mysql module to catch
exceptions like authentication failures/timeouts, permission issues,
etc. Additionally, the mysql_database and mysql_grants states have been
modified to report the mysql errors caught by the try/excepts.