Updated Troubleshooting (markdown)
parent
e443aa2c86
commit
1c299b1c35
|
@ -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
|
Loading…
Reference in New Issue