It is a common auditing requirement to log user connection
events, including whether or not authentication was
successful.
There are a number of alternatives available for MySQL, but
unfortunately there is no built-in functionality at the time of
this writing. In this post we will discuss auditing MySQL users
with McAfee plugin, which is available under GPL
Version 2 license.
Installation instructions
These apply to debian-based hosts, but instructions for red hat are similar.
1. Download latest plugin release from github.
At the time of this post for MySQL 5.5 you can get:
wget https://bintray.com/mcafee/mysql-audit-plugin/download_file?file_path=1.0.9-release%2Faudit-plugin-mysql-5.5-1.0.9-585-linux-x86_64.zip
2. Decompress …
[Read more]