Answers for "how to change timezone of mysql server"

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

how to set global time_zone in mysql

SET GLOBAL time_zone = timezone;

eg: SET GLOBAL time_zone = 'Asia/Kolkata';
Posted by: Guest on December-27-2020
1

set database timezone mysql

# SET ON /etc/my.cnf

default-time-zone='+00:00'
Posted by: Guest on December-18-2020

Code answers related to "how to change timezone of mysql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language