ConnectionPool (1) 썸네일형 리스트형 [Mysql] java.sql.SQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections" 상황 DB 커넥션을 많이 발생하는 상황에서 DB 접속이 되지 않아 찾아보았습니다. 문제 파악 Mysql에서 지정 된 DB Connection Pool 가능 차서 연결을 하지 못하는 상황입니다. 해결 방법 1. my.cnf 파일에서 max_connections="변경할 커넥션 수" 를 수정하고 재시작 2. 명령어로 커넥션 풀을 늘려줍니다. set global max_connections=1000; show variables like 'max_connections'; show status where `variable_name` = 'Threads_connected'; 이전 1 다음