Definir fuso horário do banco de dados mysql
SET GLOBAL time_zone = '+8:00';
SET GLOBAL time_zone = 'Europe/Helsinki';
SET @@global.time_zone = '+00:00';
Tosindo
SET GLOBAL time_zone = '+8:00';
SET GLOBAL time_zone = 'Europe/Helsinki';
SET @@global.time_zone = '+00:00';
sudo mysql -e "SET GLOBAL time_zone = '-6:00';"
sudo mysql –e “SELECT @@global.time_zone;”
sudo mysql –e “SELECT @@global.time_zone;”
sudo mysql -e "SET GLOBAL time_zone = ‘-6:00’;"
sudo mysql –e “SELECT @@global.time_zone;”