타임존 변경 sudo mysql; # 접속 후 use mysql; # 현재 설정 확인 SELECT @@global.time_zone, @@session.time_zone; # 타임존 변경 SET GLOBAL time_zone='+09:00'; SET time_zone = '+09:00'; SELECT @@global.time_zone, @@session.time_zone; -> +--------------------+---------------------+ | @@global.time_zone | @@session.time_zone | +--------------------+---------------------+ | +09:00 | +09:00 | +--------------------+---------------------+ 1 row in set (0.000 sec) 50-server.cnf 수정 50-server.cnf 이제 MariaDB가 재부팅 되도, 타임존은 그대로 유지...
#mariadb
#mysql
#timezone
#ubuntu
#타임존
원문링크 : [MySQL] MariaDB 10.6 타임존 변경