This is a project for a MariaDB and MySQL 5.5 and up audit plugin. Version 1.4 and up focuses on MariaDB, but MySQL might work also.
This is not for auditing, but use the audit plugin to get SQL statement statistics, which is then shown in information_schema tables. The SQL statements are "normalized" and displayed to the user through INFORMATION_SCHEMA tables.
Be the first to post a review of sqlstats!