change database timezone mysql code example
Example 1: set database timezone mysql
SET GLOBAL time_zone = '+8:00';
SET GLOBAL time_zone = 'Europe/Helsinki';
SET @@global.time_zone = '+00:00';
Example 2: set database timezone mysql
# SET ON /etc/my.cnf
default-time-zone='+00:00'