Dùng lệnh SET time_zone để thay đổi múi giờ.
Cú pháp
SET time_zone = 'someValue';
Ví dụ
mysql> SET time_zone = '+8:00';
Query OK, 0 rows affected (0.00 sec)
Thay đổi toàn cục (GLOBAL)
SET GLOBAL time_zone = 'someValue';
mysql> SET GLOBAL time_zone = '+8:00';
Query OK, 0 rows affected (0.00 sec)