All Articles

TIL&TEL 21.07.19~21.07.25

TIL( Today I Learned)

21-07-19 월

  • 코드 분석

21-07-20 화

  • 코드 분석
  • 코드 리뷰

_21-07-21 수

  • DB 영향 확인하기.
  • LOCAL 동작 환경 만들기
  • LOCAL 동작 테스트 하기

21-07-22 목

  • 동작 안정성 확인

21-07-23 금

  • 코드 머지
  • 코드 리뷰

TEL (Trial and Error Log)

21-07-20

  • ERROR: OperationalError(2013, ‘Lost connection to MySQL server during query ([Errno 104] Connection reset by peer)‘)

    • SITUATION: Mysql Connection
    • REASON:

      • You can also get these errors if you send a query to the server that is incorrect or too large.
    • SOLUTION:

      • If you need big queries (for example, if you are working with big BLOB columns), you can increase the query limit by setting the server’s maxallowedpacket variable, which has a default value of 1MB. You may also need to increase the maximum packet size on the client end. More information on setting the packet size is given in Section B.5.2.10, “Packet too large”.