Skip to content

Instantly share code, notes, and snippets.

@dux
Created July 11, 2013 08:27
Show Gist options
  • Save dux/5973588 to your computer and use it in GitHub Desktop.
Save dux/5973588 to your computer and use it in GitHub Desktop.
MySQL set time zone
SET GLOBAL time_zone = '+2:00'; # global
SET time_zone ='+2:00' # session
SELECT @@global.time_zone, @@session.time_zone;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment