This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-17. For the latest, interactive version please visit https://mariadb.com/kb/.

Default time zone in MariaDB server

How I can set a value in "default time zone" in option file for permanent use? Which option file can I use? Thanks a lot,

Carlos

Answer Answered by Chris Calender in this comment.

Hello,

The best details for setting this are listed here:

https://mariadb.com/kb/en/library/time-zones/

There are a number of ways to set this, and the various values you can set the variables to depend on whether or not you use the system time zone (default) or the mysql Time Zone Tables.

Hope this helps.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.