반응형
Recent Posts
Recent Comments
관리 메뉴

개발잡부

Error querying database 본문

JAVA

Error querying database

닉의네임 2022. 4. 25. 11:19
반응형

 

11:14:56 ### Error querying database.  Cause: java.sql.SQLException: Error retrieving record: Unexpected Exception: java.io.EOFException message given: Can not read response from server. Expected to read 475 bytes, read 463 bytes before connection was unexpectedly lost.

 

#autoReconnectForPools 옵션


autoReconnectForPools=true



      url: jdbc:mysql://{host}:{port}/{DB}?useUnicode=true&useCursorFetch=true&characterEncoding=utf-8&connectionCollation=utf8_bin&characterSetResults=utf8&autoReconnectForPools=true&serverTimezone=Asia/Seoul&useSSL=false&zeroDateTimeBehavior=convertToNull&connectTimeout=60000&socketTimeout=90000&verifyServerCertificate=false
11:14:56 ### Error querying database.  Cause: java.sql.SQLException: Error retrieving record: Unexpected Exception: java.io.EOFException message given: Can not read response from server. Expected to read 475 bytes, read 463 bytes before connection was unexpectedly lost.

 

반응형

'JAVA' 카테고리의 다른 글

[java] 10진수 를 2진수, 8진수, 16진수로 변환하기  (0) 2023.05.15
[java] Spark java tutorial  (0) 2022.06.05
Table 'shop.hibernate_sequence' doesn't exist  (0) 2022.04.16
generic  (0) 2020.04.02
Comments