[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0-164-g39c0218da6

Jim Brandt jbrandt at bestpractical.com
Mon Dec 21 16:05:59 EST 2020


The branch, 5.0-trunk has been updated
       via  39c0218da6e346de9683a4137f030acf5a204a46 (commit)
       via  8a3028b9e7c97941695668d24099d0b77ea9f250 (commit)
      from  45cd1d5460a23969171277f87ea5a26a523f1b4b (commit)

Summary of changes:
 README.MariaDB | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

- Log -----------------------------------------------------------------
commit 8a3028b9e7c97941695668d24099d0b77ea9f250
Author: Aaron Trevena <ast at bestpractical.com>
Date:   Thu Sep 3 12:55:20 2020 +0100

    Document time zone dependencies in MariaDB for charts
    
    Fixes: I#35966

diff --git a/README.MariaDB b/README.MariaDB
index 29766ed326..04a235aa8a 100644
--- a/README.MariaDB
+++ b/README.MariaDB
@@ -1,3 +1,6 @@
+CHARACTER SETS
+--------------
+
 Starting with RT 5.0.0, the minimum supported MariaDB version is 10.2.5
 because this is the first version to provide full support for 4 byte
 utf8 characters in tables and indexes. Read on for details on this
@@ -59,3 +62,24 @@ settings. For more information:
 
 https://stackoverflow.com/a/41148052
 https://mariadb.com/kb/en/character-sets/
+
+TIME ZONE TABLES
+----------------
+
+Charts in RT can use time zone conversion for dates and this requires that
+time zones are loaded into the database. MariaDB on some platforms such as
+Centos (and possibly others) have time zone tables, but they are not
+populated and need to be loaded manually.
+
+On Unix-like systems, you can use the mysql_tzinfo_to_sql utility, which
+uses the zoneinfo data provided on the system. Documentation on loading the
+time zones using the mysql_tzinfo_to_sql tool can be found at:
+
+https://mariadb.com/kb/en/mysql_tzinfo_to_sql/
+
+You can confirm that timezone tables are populated by running:
+
+    select CONVERT_TZ( '2020-07-27 20:00:00', 'UTC', 'Europe/London' );
+
+If the result is "2020-07-27 21:00:00" the timezones are populated. If the
+result is NULL then time zones are not populated.

commit 39c0218da6e346de9683a4137f030acf5a204a46
Merge: 45cd1d5460 8a3028b9e7
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Dec 21 16:02:04 2020 -0500

    Merge branch '5.0/mariadb-readme-timezones' into 5.0-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list