Programming
전체 : 764
No. Cate. Subject Name Date Hit
 24  [C/C++] Segmentation Fault coolx 2004-07-11 3329
 23  [C/C++] C++ Input/Output coolx 2004-07-11 3327
 22  [HTML] 특수 기호 코드표 [1] coolx 2004-07-11 6799
 21  [MySQL] mysql admin 정리 [1] coolx 2004-07-11 5426
 20  [Oracle] Table, Column 변경 coolx 2004-07-11 3750
 19  [Oracle] 커서, 세션 감시 coolx 2004-07-11 3464
 18  [JSP/Servlet] JDBC 연동 coolx 2004-07-02 5730
 17  [JSP/Servlet] 한글 문제 coolx 2004-07-02 3364
 16  [JSP/Servlet] 쿠키 사용 coolx 2004-07-02 3669
 15  [Oracle] limit 구현하기 coolx 2004-07-02 3258
 14  [Oracle] 특수 문자 입력 coolx 2004-07-02 3265
 13  [Oracle] Rollback Segment 사용 coolx 2004-07-02 3428
 12  [Oracle] Sequence 사용 [4] coolx 2004-07-02 5507
 11  [Oracle] Table 수정 coolx 2004-07-02 3046
 10  [Oracle] TNS 관련 coolx 2004-07-02 3416
 9  [MySQL] 사용자와 권한 coolx 2004-07-02 2996
 8  [Java] BASE64 Encoding/Decoding coolx 2004-07-02 2841
 7  [Java] Vector vs ArrayList coolx 2004-06-30 3226
 6  [Java] AWT/Swing 다른 tab의 component가 나타날때, coolx 2004-06-30 3022
 5  [Java] 한글 검색 관련 coolx 2004-06-30 3243

New Comments.... (Programming)
swindler chrome://flags 에서 sameSite 설정을 변경할 수 있는데, 그래도 별 차이가 없는 것 같다. 2022-06-07 11:10
swindler set global sync_binlog=0; 2020-03-20 11:15
swindler show variables like 'innodb_flush_log_at_trx_commit'; 2020-03-20 11:14
swindler show variables like 'sync_binlog'; 2020-01-21 11:07
swindler SET GLOBAL wait_timeout=1800; 2019-08-29 10:55
andrew 이 설정을 어디서 하면 되나요?
저는 비슷한 에러를 띄고 있는 상태입니다.

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationException:
### Error updating database. Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect INTEGER value: 'scsc'
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: insert into tb_blog_board(user_id, title, contents, category, blog_contents_img) values (?,?,?,?, ?)
### Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect INTEGER value: 'scsc'
; SQL []; Data truncation: Truncated incorrect INTEGER value: 'scsc'; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect INTEGER value: 'scsc'
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
    org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
    org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

보시는 것 같이 scsc라는 string을 입력했는데 INTEGER로 인식해버리고 에러가 발생하네요 ㅠ
어떤게 문제일까요?
2019-06-10 22:31
swindler 결국 autoreConnect 할때 SET NAMES 적용되지 않는 문제때문에 더 찾아보다가, wait_timeout이 제대로 설정되지 않음을 발견. wait_timeout을 늘리면 해결됨 2018-07-24 18:05
swindler 새로운 문제가 있음. 지금 character set 관련문제가 있어서 처음접속시에 SET names를 던지는데, reconnect 될때 적용되지 않는 문제가 있ㅇ므. 2018-07-01 09:19
swindler 별 쓸데도 없겠구만, 귀찮은 기능을 만들었구만. 2018-03-22 10:07
swindler cmake 실행시에 pthread 관련에서 에러가 나면 '/usr/include/pthread.h' 파일을 열어 아무곳에 /* Linuxthreads */ 를 추가해주면 됨 2018-03-13 18:49
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox