The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone.异常解决
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.
因为驱动使用8.0以上,所以报时区错误,这里需要在链接地址指定时区
jdbc:mysql://127.0.0.1/mydata?serverTimezone=GMT%2B8
这样就可以驱动指定成功了,有的也会把驱动换掉
这样一样也可以运行。