오류&해결
[Mysql] server time zone 에러 해결 방법
carrotdy
2022. 1. 31. 23:28
"Time zone"은 표준시간대를 의미한다.
각 나라마다 시차가 존재하니 표준시간이 필요했고, 그래서 만들어진게 국제 표준시간대 UTC(Coordinated Universal Time:세계 협정시)이다.
Intellij와 Mysql을 연결하려다보니 다음과 같은 에러가 발생하였다.
The server time zone value '���ѹα� ǥ�ؽ�' is unrecognized or represents more than one time zone. You must
configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.
localhost 뒤에 ?serverTimezone=UTC 를 추가 했더니 에러없이 동작하였다.
반응형