320x100
mysql 작업중 아래와 같이 에러가 뜬다면 max_allowed_packet 메모리 부족이다.
mysql> show master status;
ERROR 2006 (HY000): MySQL server has gone away
# vi /etc/my.conf
수정해서
[mysql]
max_allowed_packet = 500M
용량을 늘려주자
용량이 늘어났나 확인해보자
mysql> SHOW VARIABLES LIKE 'max_allowed_packet';
+--------------------+-----------+
| Variable_name | Value |
+--------------------+-----------+
| max_allowed_packet | 524288000 |
+--------------------+-----------+
1 row in set (0.00 sec)
320x100
'Linux' 카테고리의 다른 글
svn: E170000: Unrecognized URL scheme for (0) | 2014.03.27 |
---|---|
getpeername failed. Error was Transport endpoint is not connected (0) | 2014.03.13 |
Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position' (0) | 2014.02.27 |
samba log 설정 (0) | 2014.02.20 |
mysql replication last error (0) | 2014.02.19 |