Idea Database窗口连接MySQL8.0报错

报错信息:

java.lang.RuntimeException: com.mysql.cj.exceptions.InvalidConnectionAttributeException: 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.

解决方法:

根据提示就是要指定数据库或JDBC驱动的时区。具体配置属性为: serverTimezone

Idea Database窗口连接MySQL8.0报错_第1张图片

 

你可能感兴趣的:(开发中的问题,数据库)