Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102826

Time Zones in MariaDB (add on in container)

$
0
0

I’m using MariaDB as my DB for HA and it works fine. However when I now try to use the data it appears all timestamps are stored in UTC. In other databases I have other data (hourly prices for example) that are in local time. In order to match (join) them I need to handle different time zones in MariaDB and in order to do that I’v found out I need to run a script that loads the time zone data from some sort of Linux files. https://mariadb.com/kb/en/mysql_tzinfo_to_sql/. So… Then my question is… how do I get into some shell for MariaDB in a container on HA?

Thanks for any pointers… :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 102826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>