반응형
- check timezone
- select @@global.time_zone, @@session.time_zone,@@system_time_zone;
- select current_time;
- modify timezone
- sudo vim /etc/mysql/mysql.conf.d/mysqld.conf
- 아래 줄 추가
- default-time-zone="+00:00"
- 그리고 재기동
- sudo service mysql restart
반응형
'db' 카테고리의 다른 글
mysql change column error (0) | 2022.04.28 |
---|---|
mysql aggregate function with group by (0) | 2022.04.27 |
mysql 한글깨짐 (0) | 2022.04.26 |
mysql console 접속 (0) | 2022.04.26 |
mysql date/time (0) | 2022.04.22 |