Skip to content

Instantly share code, notes, and snippets.

@dotspencer
Created December 1, 2017 09:06
Show Gist options
  • Save dotspencer/1f00f65005bb1d20175d0112b62b2e93 to your computer and use it in GitHub Desktop.
Save dotspencer/1f00f65005bb1d20175d0112b62b2e93 to your computer and use it in GitHub Desktop.
Setting UTC timezone with homebrew installed mysql

Edit /usr/local/etc/my.cnf

Add the following below [mysqld]

default-time-zone='+00:00'

Restart mysql with brew services restart mysql

@babbassp
Copy link

babbassp commented Mar 8, 2020

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment