TL;DR SET GLOBAL sql_select_limit = ?
で結果セットのサイズを制限していると、xtrabackupが内部的に発行している SHOW
ステートメントの出力結果が切り詰められてクラッシュすることがある。
xtrabackupで遊んでいたら、ある時からおもむろにsignal
11で落ちるようになった。それ以前はフツーにバックアップ取れてたのに。
$ innobackupex -S /usr/mysql/5.7.17/data/mysql.sock -uroot .
170321 10:43:26 innobackupex: Starting the backup operation
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
Unrecognized character \x01; marked by <-- HERE after <-- HERE near column 1 at - line 1374.
170321 10:43:26 Connecting to MySQL server host: localhost, user: root, password: not set, port: …[さらに読む]