Druid报错 com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl error
严重: create connection SQLException, url: jdbc:mysql://localhost:3306/bjpowernode, errorCode 0, state S1000
问题解决方法:
1.查看数据库的驱动是否对应
2.MySQL的driverClassName版本不一样写的方式也不一样
5.7以下的com.mysql.jdbc.Driver
5.7以上的com.mysql.cj.jdbc.Driver
3.查看url是否写错
jdbc:mysql://localhost:3306/数据库的名字?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8&useSSL=false