Chris Hansen
Chris Hansen

Reputation: 8639

how do I change the timezone in mysql?

how do I change the timezone in mysql? I want to change the timezone to GMT but I don't know how. I want to change the my.cnf file.

Upvotes: 1

Views: 67

Answers (1)

UVM
UVM

Reputation: 9914

Go to [mysql] section of your configuration file and under that section enter this line

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

Hope this will help you.

Upvotes: 2

Related Questions