Blog Post

Azure Database Support Blog
1 MIN READ

Lesson Learned #73: Azure Database for MySQL – CONVERT_TZ returns null

Jose_Manuel_Jurado's avatar
Apr 01, 2019

Hello Team,

 

Today, we have a new service request where our customer asked about the CONVERT_TZ function to convert time to CET, but, unfortunately the function always returns null.

 

Searching in several MySQL webs we found that it is needed to run a process to load the different time zones as are described in these URLs:

 

As you know you don't have access to Azure Database for MySQL instance but, following the article https://docs.microsoft.com/en-us/azure/mysql/howto-server-parameters and see the part of “Working with the time zone parameter” there, you will have this option available.

 

Enjoy!

Published Apr 01, 2019
Version 1.0
No CommentsBe the first to comment