| MySQL 4.0.19~에서 error log의 Aborted connection | 작성일 : 2004/08/14 14:08 |
| 조회수 : 16165 |
|
제 목 : MySQL 4.0.19~에서 error log의 Aborted connection 글쓴이 : 좋은진호(truefeel, http://coffeenix.net/ ) 글쓴날 : 2004.8.10(화) MySQL은 error log를 MySQL DB 홈 디렉토리의 호스트명.err 파일에 남긴다. 예전에는 없었는데 MySQL 업그레이드 후에 갑자기 다음과 같이 경고 메시지가 있어 이상하게 여길 수도 있겠다.
위의 경고메시지는 지정한 connect_timeout 동안 쿼리를 날리지 않아 커넥션이 자동으로 끊겼음을 의미하는데, MySQL 4.0.19부터는 디폴트로 이 로그를 남기도록 하고 있다. 4.0.19 릴리즈의 Changes를 보면 다음과 같은 부분이 있다.
이 로그를 남기고 싶지 않다면 - mysqld 데몬 실행할 때 --skip-log-warnings 옵션을 주거나 - mysql 접속하여 mysql> 프롬프트에서 다음과 같이 하여도 된다.
2. 참고 글 * C.3.3 Changes in release 4.0.19 (04 May 2004)) http://dev.mysql.com/doc/mysql/en/News-4.0.19.html * A.2.10 Communication Errors and Aborted Connections http://dev.mysql.com/doc/mysql/en/Communication_errors.html * 5.2.3 Server System Variables http://dev.mysql.com/doc/mysql/en/Server_system_variables.html |
||||||||||
|
|