Mar 23 22:43:56 puppet-agent[16927]: (/Stage[main]/Mysql::Audit_log/Exec[load_audit_log.so]/returns) ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query
Mar 23 22:43:56 puppet-agent[16927]: mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0]
Mar 23 22:43:56 puppet-agent[16927]: (/Stage[main]/Mysql::Audit_log/Exec[load_audit_log.so]/returns) change from notrun to 0 failed: mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0]
Mar 23 22:43:56 puppet-agent[16927]: (/Stage[main]/Mysql::Audit_log/Exec[load_audit_log.so]/returns) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/mysql/dbprod/test-p0.sock' (2)
Mar 23 22:43:56 puppet-agent[16927]: (/Stage[main]/Mysql::Audit_log/Exec[load_audit_log.so]) Failed to call refresh: mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0]
Mar 23 22:43:56 puppet-agent[16927]: (/Stage[main]/Mysql::Audit_log/Exec[load_audit_log.so]) mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0]
Installation procedure for the running servers via puppet
Add entries to my.cnf
audit-log = FORCE_PLUS_ PERMANENT dblogs1/ test-p0/ audit/audit. log
audit_log_file = /opt/mysql/
audit_log_format = JSON
audit_log_strategy = SEMISYNCHRONOUS
plugin-load = audit_log.so
execute
INSTALL PLUGIN audit_log SONAME 'audit_log.so'
Mar 23 22:43:56 puppet- agent[16927] : (/Stage[ main]/Mysql: :Audit_ log/Exec[ load_audit_ log.so] /returns) ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query agent[16927] : mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0] agent[16927] : (/Stage[ main]/Mysql: :Audit_ log/Exec[ load_audit_ log.so] /returns) change from notrun to 0 failed: mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0] agent[16927] : (/Stage[ main]/Mysql: :Audit_ log/Exec[ load_audit_ log.so] /returns) ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/mysql/ dbprod/ test-p0. sock' (2) agent[16927] : (/Stage[ main]/Mysql: :Audit_ log/Exec[ load_audit_ log.so] ) Failed to call refresh: mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0] agent[16927] : (/Stage[ main]/Mysql: :Audit_ log/Exec[ load_audit_ log.so] ) mysql -uroot -e "INSTALL PLUGIN audit_log SONAME 'audit_log.so'" returned 1 instead of one of [0]
Mar 23 22:43:56 puppet-
Mar 23 22:43:56 puppet-
Mar 23 22:43:56 puppet-
Mar 23 22:43:56 puppet-
Mar 23 22:43:56 puppet-