How do I set the server timezone in the MariaDB configuration?
The only thing I can find in the documentation is using command-line flags, which I don't want to do.
default_time_zone
, which works on vanilla MySQL, isn't recognized by MariaDB.
It is default-time-zone
(-
instead of _
):
[server]
default-time-zone=UTC