The server time zone value '?й???????' is unrecognized or represents more than one time zone. You 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 utilize time zone support.
上述是java程序jdbc连接mysql(8.0版本)时候出现的错误!
出现原因:
url的默认使用,导致高版本的mysql连接出现的问题!
解决方法:即图中注释url的写法,就是加上一些参数控制!