エラー
railsでバルクインサートしようとしたらエラー出た
error.log
ActiveRecord::StatementInvalid:
Mysql2::Error: Table 'performance_schema.session_variables' doesn't exist: SHOW VARIABLES like 'max_allowed_packet';
対応
mysql_updateをかけて再起動
$ mysql_upgrade -u root -p --force
$ mysql.server restart
参考
https://dev.mysql.com/doc/refman/5.6/ja/mysql-upgrade.html
http://stackoverflow.com/questions/31967527/table-performance-schema-session-variables-doesnt-exist
http://sweep3092.hatenablog.com/entry/2015/11/28/180103