A
A
Artem Gribkov2014-06-20 11:22:02
MySQL
Artem Gribkov, 2014-06-20 11:22:02

How to make MySQL server take non-UTC time_zone?

There is Ubuntu Server 12.04, where MSK timezone is set, in MySQL server timezone is set to SYSTEM, so it should take the same MSK timezone, but it takes UTC time. How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2014-06-20
@HeadOnFire

vi /etc/my.cnf
default-time-zone = '-06:00' // заменить на свою зону

www.inmotionhosting.com/support/website/databases/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question