Answers for "how to set time zone in mysql database"

SQL
1

set database timezone mysql

SET GLOBAL time_zone = '+8:00';
SET GLOBAL time_zone = 'Europe/Helsinki';
SET @@global.time_zone = '+00:00';
Posted by: Guest on December-18-2020
0

check timezone of mysql database

SELECT @@system_time_zone as tz;
Posted by: Guest on December-06-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language