时区问题数据库后面加上
serverTimezone=GMT%2B8或者serverTimezone=Asia/Shanghai
例如:URL="jdbc:mysql://localhost:3306/web02?serverTimezone=GMT%2B8
时区问题数据库后面加上
serverTimezone=GMT%2B8或者serverTimezone=Asia/Shanghai
例如:URL="jdbc:mysql://localhost:3306/web02?serverTimezone=GMT%2B8