java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents

38 阅读1分钟

解决方式1:

 

//GMT%2B8代表: 东八区

static final String DB_URL="jdbc:mysql://localhost:3306/csm"+"?serverTimezone=GMT%2B8";