From 1c299b1c35291110f6fa37cbc5f1f780a01f8d82 Mon Sep 17 00:00:00 2001 From: Guy Lichtman Date: Fri, 11 Oct 2013 08:16:23 -0700 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 3548588..9094901 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -40,6 +40,8 @@ If the MySQL distribution includes debug symbols (most builds from mysql.com inc Download the offset-extract.sh script from: https://raw.github.com/mcafee/mysql-audit/master/offset-extract/offset-extract.sh +**Note:** The offest-extract.sh script changed with commit 4b680c3f3574f096f0b87c11c72e5ccc45e10b7f. If you are using a build earlier than 1.0.4-451 you will need to use the script from the 1.0.3 tag: https://raw.github.com/mcafee/mysql-audit/v1.0.3/offset-extract/offset-extract.sh + Note: GDB is required to use this script. Change the permission of the file to executable: @@ -71,4 +73,4 @@ Then try installing the AUDIT plugin either via plugin-load configuration option **Note:** Some distributions (such as Percona Server) contain the mysqld debug symbols as a separate binary, which requires installing an additional package (rpm/deb). For example for Percona Server on RedHat you will need to install: Percona-Server-55-debuginfo-5.5.30-rel30.1.465.rhel6.x86_64.rpm. Once installed pass to the `offset-extract.sh` script also the path to the mysqld symbols file. Symbols file must be the same version as the target mysqld. For example: - ./offset-extract.sh /usr/sbin/mysqld /usr/lib/debug/usr/sbin/mysqld.debug + ./offset-extract.sh /usr/sbin/mysqld /usr/lib/debug/usr/sbin/mysqld.debug \ No newline at end of file