인텔리제이로 스프링 부트 테스트를 진행하던 도중 이런 에러가 떴다.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

에러를 살펴보니 MySQL 문제인 것 같았다. 그래서 어, 씨X 뭐지? 처음 보는 에런데? 싶어서 당황 좀 타다가... 혹시? 싶어서 디비버를 켜봤다.

아ㅡㅡ
MySQL 껐다가 켜니까 잘된다. 얼탱없내
해결 방법을 찾으신다면 이 글을 참고하세요.
Dbeaver MySQL Error - Communications link failure
현재 나는 맥북 M1을 사용하는 중이며, DBMS 툴로는 디비버(DBeaver)를 사용하고 있다. 이게 깔끔하기도 하고, 그냥 뭣도 모를 때부터 사용했던 거라 익숙해서 계속 쓰고 있는 중인데 생각보다 저 에
cosmicwhitetree.tistory.com
'springboot' 카테고리의 다른 글
Spring Boot(Mustache) - 서버 재시작 없이 정적 리소스 (HTML , CSS 등) 새로고침하기 (0) | 2022.11.01 |
---|---|
MySQL Error - Data too long for column 'user_pw' at row 1 (0) | 2022.09.17 |
Dbeaver MySQL Error - Communications link failure (0) | 2022.09.17 |
SpringBoot 프로젝트 생성 - Spring Initializr (0) | 2022.09.15 |
Spring Boot Error - application.properties 한글 깨짐 (0) | 2022.09.13 |