MySQL8.0 version connectivity issues (district being given to solve the drive)

Version 8.0 to com.mysql.cj.jdbc.Driver if the driving error also
run error:
of The Time Zone Server IS out with unrecognized value Within last One or More Represents by Time Zone by You 'D1ú ± ± Ê Ê × ????'. must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utili
Cause: the time zone time zone errors
solution:
1. root user to log in cmd MySQL
2.show like the Variables 'time_zone%%';
system_time_zone a value is sYSTEM (uS time)
the sYSTEM as the default SQL uS time, while we in China than in their late eight hours
3. time zone to time zone to the current system, the use of +8: 00 format : Global SET TIME_ZONE = '+ 8:00';
4. Variables like check again Show '%% TIME_ZONE';
5. The system_time_zone if the value is +8: 00, returns rerun

发布了17 篇原创文章 · 获赞 42 · 访问量 9576

Guess you like

Origin blog.csdn.net/jiangjiaoyong/article/details/100532512