Exception in thread "main" java.sql.SQLException: 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.
求大佬们看看哪里错了,数据库
url后面加 ?serverTimezone=GMT%2b8
database1后面加上?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8
UTC是统一标准世界时间
UTF-8解决中文存在乱码问题