Skip to content

Instantly share code, notes, and snippets.

@rafaeltedesco
Last active August 16, 2023 20:10
Show Gist options
  • Select an option

  • Save rafaeltedesco/325a167723c28889bad3070168445471 to your computer and use it in GitHub Desktop.

Select an option

Save rafaeltedesco/325a167723c28889bad3070168445471 to your computer and use it in GitHub Desktop.
Fix MySQL timezone
SELECT * FROM mysql.time_zone_name;
SET GLOBAL time_zone = 'America/Sao_Paulo';
SELECT @@global.time_zone;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment