DataGrip reports error SeverTimezone when connecting to mysql database

There are pictures with the truth, the specific problem is shown in the following figure:
Insert picture description here
Find Advanced, set serverTimezone to UTC, the solution is as follows: The
Insert picture description here
connection result is as shown in the figure below:
Insert picture description here

There will be a corresponding database display on the left sidebar, such as the following figure:
Insert picture description here

After connecting, we can test the sql statement. The first option is to execute only the currently selected sql statement, and the second option is to execute all the sql statements, as shown in the figure below:
Insert picture description here
Attention! The data inside is purely fictitious.

I chose the second option, and the result is as follows:
Insert picture description here
Insert picture description here
Insert picture description here
We can see the execution time of the sql statement from the output, as shown
Insert picture description here
in the following figure: In fact, I also encountered this problem at the beginning, but thanks to the article address of the big guy, the article address .
Finally, thank you all for coming to watch my article. There may be many improprieties in the article, and I hope to point out He Haihan.

Guess you like

Origin blog.csdn.net/weixin_43408020/article/details/113800986