为了账号安全,请及时绑定邮箱和手机立即绑定

mysql连接失败

Wed Nov 22 17:40:17 CST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

2017-11-22 17:40:17.031 ERROR 16764 --- [           main] o.a.tomcat.jdbc.pool.ConnectionPool      : Unable to create initial connections of pool.


java.sql.SQLException: Access denied for user 'localhost'@'localhost' (using password: YES)


正在回答

2 回答

可以在配置里将IP换为你本机IP,值得一试

0 回复 有任何疑惑可以回复我~

链接的这段代码贴出来啊!

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
2小时学会Spring Boot
  • 参与学习       151497    人
  • 解答问题       1132    个

Spring Boot入门视频教程,你将学会使用Spring Boot快速构建应用程序

进入课程

mysql连接失败

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号