Closed svenXY closed 7 years ago
Not sure if this is of any additional help, but after the restart, we saw many of
Mar 23 22:48:42 db02.my.dom mysqld: 2017-03-23 22:48:42 7f1c79f9b720 InnoDB: Error: table `tmp`.`#sql2074_6_1e36` does not exist in the InnoDB internal
Mar 23 22:48:42 db01.my.dom mysqld: InnoDB: data dictionary though MySQL is trying to drop it.
Mar 23 22:48:42 db01.my.dom mysqld: InnoDB: Have you copied the .frm file of the table to the
Mar 23 22:48:42 db01.my.dom mysqld: InnoDB: MySQL database directory from another database?
Mar 23 22:48:42 db01.my.dom mysqld: InnoDB: You can look for further help from
Mar 23 22:48:42 db01.my.dom mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html
Hi. Can you please try using the latest dev-snapshot version? Thanksl.
hi & thanks for the quick answer. Does that mean that you assume it was your plugin that crashed the mysqld?
Hi. For some reason I didn't see your question in email, but just now by looking at Github.
To answer your question, I am not assuming the plugin crashed the server. In particular, the plugin does not use std::vector. But to be safe, I'd like you to try our latest, which has several bug fixes.
The last few lines in your log are also troublesome. It says that it can't load the plugin; that looks like it's happening when the DB restarts. Can you double check from the mysql client that the plugin is loaded correctly and functioning? Also please double check that you don't have a different plugin named 'audit', just to be safe.
Much thanks,
Aharon
Hi. Any update on this?
Closing this issue.
We installed the plugin yesterday around noon and the next line in the error log (22:48:37) was that mysqld terminated. We never had this problem before, so we think it may be caused or at least be related to the plugin.
my.cnf:
AUDIT
plugin-load=AUDIT=libaudit_plugin.so audit_json_file=1 audit_json_socket_name=/tmp/audit.sock audit_json_socket=OFF audit_json_file=ON audit_whitelist_users=xxx,yyy,zzz,{},; audit_json_log_file=/var/log/mysql/audit.log audit_record_cmds=connect,Quit,show,select,insert,update,delete audit_validate_checksum=OFF
audit_uninstall_plugin=ON
mysqld
Server version: 5.6.35-log MySQL Community Server (GPL) Protocol version: 10
error log