허허의 오늘은 뭐 먹지?

[mysql] timezone변경 본문

SW/메모

[mysql] timezone변경

luminovus 2023. 5. 13. 00:52

mysql의 timezone을 한국으로 변경하고자 함.

 

먼저 현재 세팅을 확인해본다.

SELECT NOW(), @@system_time_zone, @@GLOBAL.time_zone AS TimeZone;

 

mysql에 my.cnf를 수정하고 mysql을 재시작한다.

my.cnf

변경 후.

 

반응형

'SW > 메모' 카테고리의 다른 글

[mysql] dump복원  (0) 2023.05.13
[mysql] Public key retrieval is not allowed  (0) 2023.05.13
[mysql] innodb 튜닝  (0) 2023.05.07
[GIT] git pull시 Enter passphrase for key 오류  (0) 2023.04.28
[python] python decorator  (0) 2023.02.04
Comments