Archives

  • Update MySQL Server Time Zone Data

    I started to get the error message Database returned an invalid value in QuerySet.dates(). Are time zone definitions and pytz installed? from a Django application. These messages presented when I started to utilize date_hierarchy. From the MySQL server run the following command mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql This will parse the zone […]

    Nov 11th, 2016 • Filed under Databases, Django, Linux, MySQL, PythonPrint View
Archive for the ‘MySQL’ Category