From 5dd51ac90ad9bb8482eaa02776abb423e0350fcb Mon Sep 17 00:00:00 2001 From: guylichtman Date: Wed, 18 Jul 2012 05:54:43 -0700 Subject: [PATCH] Updated Installation (markdown) --- Installation.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Installation.md b/Installation.md index e81666d..59d0127 100644 --- a/Installation.md +++ b/Installation.md @@ -46,18 +46,6 @@ The AUDIT plugin will show up with the name AUDIT. Additionally you can verify t ### Troubleshooting -IF the AUDIT plugin fails to install error messages will be logged in the MySQL error log. Log file location can be queried in MySQL by running the following command: - - show global variables like 'log_error'; - -**Common issue with checksum validation:** AUDIT plugin uses compiled offsets for accessing built-in MySQL data structures that are not exposed through a consistent API. The use of offsets is used for supporting multiple MySQL versions with a single binary distribution. The plugin will use the proper offsets according to the MySQL server version. To verify that the plugin is running on a MySQL version which we know and tested the offsets for, we've added a checksum verification on the mysqld binary. Thus, if a MySQL server distribution, which we haven't extracted the offsets and checksum for, is being used, the plugin will fail installation as the checksum of mysqld will not match a known checksum. Usually, the offsets between different MySQL distributions are the same for a specific version. Thus, it is possible to run the AUDIT plugin with the offsets of a specific MySQL server version without checksum verification. If checksum verification fails the log will contain an error of the form: - -> Audit Plugin: Couldn't find proper THD offsets for: MYSQL_VERSION - -In this case, you can try to disable the checksum verification. To disable checksum verification: add to the MySQL option file (my.cnf) at the [mysqld] section the option: - - audit_validate_checksum=OFF - -Then try installing the AUDIT plugin either via plugin-load configuration option (restart) or by issuing the INSTALL PLUGIN statement. +See: [[Troubleshooting]]