Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From <a href="https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html" rel="nofollow noreferrer">the MySQL 5.7 documentation</a> (emphasis mine):</p> <blockquote> <p>timezone values can be given in several formats, none of which are case sensitive:</p> <p>The value 'SYSTEM' indicates that the time zone should be the same as the system time zone.</p> <p>The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'.</p> <p>The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'. <strong>Named time zones can be used only if the time zone information tables in the mysql database have been created and populated.</strong></p> </blockquote> <p>It should be noted that the MySQL <em>timezone</em> variable's default setting is SYSTEM at MySQL startup. The SYSTEM value is obtained from an operating system setting (e.g. from the file that is referenced by the symlink <code>/etc/localtime</code>)</p> <p>MySQL's default <em>timezone</em> variable can be initialised to a different value at start-up by providing the following command line option:</p> <pre><code>--default-time-zone=timezone </code></pre> <p>Alternatively, if you are supplying the value in an options file, you should use the following syntax to set the variable:</p> <pre><code>--default-time-zone='timezone' </code></pre> <p>If you are a MySQL SUPER user, you can set the SYSTEM <em>time_zone</em> variable at runtime from the MYSQL> prompt using the following syntax:</p> <pre><code>SET GLOBAL time_zone=timezone; </code></pre> <p>MySQL also supports individual SESSION <em>timezone</em> values which defaults to the GLOBAL <em>time_zone</em> environment variable value. To change the session <em>timezone</em> value during a SESSION, use the following syntax:</p> <pre><code>SET time_zone=timezone; </code></pre> <p>In order to interrogate the existing MYSQL <em>timezone</em> setting values, you can execute the following SQL to obtain these values:</p> <pre><code>SELECT @@global.time_zone, @@session.time_zone; </code></pre> <p>For what it's worth, I simply googled <strong>mysql time_zone configuration valid values</strong> and looked at the first result.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload