SOFTELメモ Developer's blog

【MySQL】ダンプを取るときに Got a packet bigger than 'max_allowed_packet' bytes

2010/12/21 MySQL

問題

mysqldump で Got a packet bigger than 'max_allowed_packet' bytes のエラー発生。

解答例

mysqldumpのコマンド引数に max_allowed_packet=1G など指定する。

mysqldump --max_allowed_packet=1G DBNAME

max_allowed_packetの最大値が1G。

関連するメモ

コメント