Comments (8)
Thanks for reporting this. Much appreciated.
Can you provide some info about the mysql configuration. What mysql distribution/version and what are the settings you have for the audit plugin (show global variables like '%audit%'
).
The bug looks very similar to issue #29. It might be that the fix for #29 didn't resolve the issue fully. At that case I think the node was used at replication. In your case, is this node used in replication by any chance? If so please provide some info about the setup.
from mysql-audit.
Hi there - this was a master in a single master setup.
I was using:
audit_json_file=0
audit_json_socket_name=/dev/mysqlaudit
audit_json_socket=1
audit_record_objs=database.table1,database.table2
The crash didn't occur immediately. Auditing was working properly, and about a day later the crash occurred.
I'm running Percona-Server-5.5.11-rel20.2 (based on MySQL 5.5.11)
from mysql-audit.
I should add - it may have been a coincidence but the crash seemed to occur just as I was launching a MySQL GUI tool (Sequel Pro) The previous time that it crashed, it was under normal traffic and there weren't any admin tools/DDL statements/etc.
The commands that Sequel Pro issues upon launch are:
SHOW VARIABLES;
SELECT @@global.max_allowed_packet;
USE database_name
;
SHOW DATABASES;
SHOW /!50002 FULL/ TABLES;
SELECT * FROM information_schema.routines WHERE routine_schema = 'database_name' ORDER BY routine_name;
SHOW VARIABLES LIKE 'character_set_database';
I don't believe that I focused on one of the audited tables before the crash, but if I had, it would have issued:
SHOW TABLE STATUS LIKE 'table_name';
SHOW CREATE TABLE table_name
;
SELECT COUNT(1) FROM table_name
;
from mysql-audit.
Do you mean by "single master" that there are no slaves connecting?
Sent from my mobile device
On Feb 2, 2013 5:47 PM, "Casey Forbes" [email protected] wrote:
Hi there - this was a master in a single master setup.
I was using:
audit_json_file=0
audit_json_socket_name=/dev/mysqlaudit
audit_json_socket=1
audit_record_objs=database.table1,database.table2The crash didn't occur immediately. Auditing was working properly, and
about a day later the crash occurred.I'm running Percona-Server-5.5.11-rel20.2 (based on MySQL 5.5.11)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-13032352.
from mysql-audit.
Sorry, I don't know what I meant by that :) Yes, there are slaves connected. I'm only using the plugin on the master.
from mysql-audit.
Just to update. I think I have a scenario regarding this crash. It is associated to how we check objects for non query commands. There could be some scenarios that the query tables list is pointing to garbage. Will be working on putting some safe guards to avoid this.
from mysql-audit.
Latest commit should fix the crash issue. If you still experience the crash please re-open the issue.
from mysql-audit.
Great!
from mysql-audit.
Related Issues (20)
- Support for MySQL v8.0.25 HOT 3
- offset-extract.sh error in ubuntu 18.04 HOT 3
- AUDIT plugin does not support MySQL 5.7.38 HOT 1
- mysql8 offset HOT 6
- Use datetime instead of timestamp
- Can't support mysql-8.0.30 HOT 2
- auto rotate logs when the specific size is reached HOT 1
- not suppor arm
- Do you have any plan support for MySQL 5.7.40 HOT 2
- throw exception in mysql server 8.0.30
- can audit_whitelist_users accept wildcard
- MySQL problem of Docker deployment HOT 1
- ERROR 1123 (HY000): Can't initialize function 'AUDIT'; Plugin initialization function failed. (env mysql 8.0.29 & rocky8.6 ) HOT 1
- MySQL 8.0.33: undefined symbol: my_charset_utf8_general_ci HOT 8
- MySQL 8.0.30: Plugin 'AUDIT' registration as a AUDIT failed. HOT 1
- ./offset-extract.sh GDB failed!!! mysql:8.0.30-debian-11-r15
- offset-extract.sh failed for MySQL >= 8.0.32 HOT 4
- [INFO] A step-by-step quick note on building mysql-audit for MySQL 8.0.33+
- MySQL 5.7.44 is not support ?
- Request support for MySQL 8.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysql-audit.