From 3fa7162cc674252444b5f08a2d23634ddb2f17e6 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 7 Jun 2024 09:21:49 +1000 Subject: [PATCH] timezones.rst: update mariadb to mariadb-tzinfo-to-sql Update KB links. Also a restart isn't required after loading. --- source/timezones.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/timezones.rst b/source/timezones.rst index bf780d8..6c2ff93 100644 --- a/source/timezones.rst +++ b/source/timezones.rst @@ -20,9 +20,13 @@ On most systems, you'll have to initialize timezones data from your system's tim mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -p -u root mysql -You may want to check `MariaDB documentation about mysql_tzinfo_to_sql `_ and your system documentation to know where data are stored (if not in ``/usr/share/zoneinfo``). +or for MariaDB: -Do not forget to restart the database server once command is successfull. +.. code-block:: bash + + mariadb-tzinfo-to-sql /usr/share/zoneinfo | mariadb -p -u root mysql + +You may want to check `MariaDB documentation about mariadb-tzinfo-to-sql `_ and your system documentation to know where data are stored (if not in ``/usr/share/zoneinfo``). Windows users -------------