org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection
Cannot create PoolableConnectionFactory
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
解决办法:
- 加上&useSSL=false
未解决 - jdbc.username=root改为user
未解决 - 把
mysql-connector-java-5.1.46-bin
换成
mysql-connector-java-5.1.46-bin
成功了√