IDEA中连接数据库 进行操作报错
有时候又成功连接 但是有时候会报错
解决方法就是:
在durid.properties中更改
jdbc:mysql://localhost:3306/数据库名?characterEncoding=utf8&useSSL=false&serverTimezone=UTC
例如:
url=jdbc:mysql://localhost:3306/test?characterEncoding=utf8&useSSL=false&serverTimezone=UTC
就可以成功连接上数据库了