{"id":776,"date":"2017-05-22T15:10:46","date_gmt":"2017-05-22T13:10:46","guid":{"rendered":"https:\/\/www.thediar.com\/?p=776"},"modified":"2019-07-09T19:40:40","modified_gmt":"2019-07-09T17:40:40","slug":"google-data-studio-got-problems-mysql-take-good-care-time-zones","status":"publish","type":"post","link":"https:\/\/www.thediar.com\/en\/blog\/google-data-studio-got-problems-mysql-take-good-care-time-zones\/","title":{"rendered":"Google Data Studio: got problems with MySQL? Take good care of your time zones."},"content":{"rendered":"<p>We love\u00a0<strong>tools<\/strong>. We love\u00a0<strong>data visualization<\/strong>. We strongly believe that data visualization should not be expensive, so we&#8217;ve wondered whether\u00a0<strong>Google Data Studio\u00a0<\/strong>could be, at some point, one of the leaders in the market such as Qlik, Tableau or PowerBI.<\/p>\n<p>We are vey aware that <strong>Google Data Studio<\/strong> is not there\u00a0yet when it comes to the features the top tools have, but we want to share some of the experiences we have found so far. Today, concretely, we want to highlight an issue with the <strong>time zones<\/strong> when a connection to a\u00a0<strong>MySQL<\/strong> database is required.<\/p>\n<h2>Google Data Studio\u00a0allows to use many data sources<\/h2>\n<p>This is obvious. For some months now, Google Data Studio allows to use\u00a0<strong>several data sources<\/strong> for reporting, and they are continuously adding more. At the moment when can bring data (when will be able to cross it efficiently?) from MySQL, plain files, Google Analytics, Big Query, etc:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-779\" src=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/connectors.png?resize=122%2C300&#038;ssl=1\" alt=\"\" width=\"122\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/connectors.png?resize=122%2C300&amp;ssl=1 122w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/connectors.png?resize=360%2C886&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/connectors.png?resize=250%2C615&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/connectors.png?resize=100%2C246&amp;ssl=1 100w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/connectors.png?w=378&amp;ssl=1 378w\" sizes=\"auto, (max-width: 122px) 100vw, 122px\" \/><\/p>\n<p>Right now\u00a0<strong>we miss<\/strong> sources such as SalesForce (or SugarCRM), Oracle, Facebook, MailChimp, among others. Time to time, as we can imagine that Google&#8217;s developers have them in their\u00a0<strong>roadmap<\/strong>.<\/p>\n<h2>We started to experience issues with the MySQL connector<\/h2>\n<p>Some weeks ago we built a report that used as data source a MySQL data base (actually it was a DWH that was integrating data from many sources &#8211; we insist, again, on the topic of being able to\u00a0<a href=\"https:\/\/www.thediar.com\/en\/what-we-do\/data-integration-processing\/\">integrate<\/a> data in the same interface). Everything was perfect until we found an <strong>error<\/strong> <strong>message\u00a0<\/strong>when we tried to refresh the report or edit the connection parameters:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-781\" src=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/error-ds.png?resize=300%2C64&#038;ssl=1\" alt=\"\" width=\"300\" height=\"64\" srcset=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/error-ds.png?resize=300%2C64&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/error-ds.png?resize=360%2C77&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/error-ds.png?resize=250%2C53&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/error-ds.png?resize=100%2C21&amp;ssl=1 100w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/error-ds.png?w=478&amp;ssl=1 478w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>It must be said that the error message was pretty\u00a0<strong>useless<\/strong>. Searching in the forums and boards we realized that we were <strong>not the only ones<\/strong> experiencing issues with Google Data Studio&#8217;s MySQL connector. We were starting to get dissappointed when, some hours later (maybe it was a bug) when we refreshed the report we obtained a much more concrete message. Nevertheless it was highly puzzling:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-782\" src=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?resize=300%2C153&#038;ssl=1\" alt=\"\" width=\"300\" height=\"153\" srcset=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?resize=520%2C266&amp;ssl=1 520w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?resize=360%2C184&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?resize=250%2C128&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?resize=100%2C51&amp;ssl=1 100w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/cest.jpg?w=645&amp;ssl=1 645w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Wow! Houston, we got a problem with the time zone: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Central_European_Summer_Time\" target=\"_blank\" rel=\"noopener noreferrer\">CEST<\/a> time zone is not recognized! We kindly ask Google Data Studio developers some support to avoid the fact of having the server time being modified, because <strong>we were not able<\/strong> to solve the issue by modifying the URL in the <strong>JDBC<\/strong> call: the only way to overcome the situation was to change the server time, to UTC in this case, and,\u00a0<em>voil\u00e0<\/em>, we were able to reestablish the connection without further issues:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-784\" src=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=300%2C150&#038;ssl=1\" alt=\"\" width=\"300\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=768%2C384&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=700%2C350&amp;ssl=1 700w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=520%2C260&amp;ssl=1 520w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=360%2C180&amp;ssl=1 360w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=250%2C125&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?resize=100%2C50&amp;ssl=1 100w, https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/mysql-success.png?w=912&amp;ssl=1 912w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Since that moment we experienced no further problems when refreshing the report, even if the table feeding it gets larger and larger every day (of course, we make sure the tables are properly <strong>indexed<\/strong> &#8211; some day we will test the performance of Google Data Studio when connecting to MySQL tables not having their indexes in place).<\/p>\n<h2>Summary: a better support is needed<\/h2>\n<p>Google solved this issue last May 18th. Between May 12th and May 18th it was necessary to use the mentioned workaround if you wanted to use your MySQL tables as source in Google Data Studio. Of course, there are companies and situations that can&#8217;t allow to be such time without data. For such urgent issues, Google must enable a support system enabling them to solve important issues the same day.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>We love\u00a0tools. We love\u00a0data visualization. We strongly believe that data visualization should not be expensive, so we&#8217;ve wondered whether\u00a0Google Data Studio\u00a0could be, at some point, one of the leaders in the market such as Qlik, Tableau or PowerBI. We are [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":777,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","clearfix"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.thediar.com\/wp-content\/uploads\/data-studio.png?fit=240%2C160&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p8d1gX-cw","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/posts\/776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/comments?post=776"}],"version-history":[{"count":8,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":1906,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/posts\/776\/revisions\/1906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/media\/777"}],"wp:attachment":[{"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/media?parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/categories?post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thediar.com\/en\/wp-json\/wp\/v2\/tags?post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}