浏览器输入相应URL访问自己的localhost出现白页,且控制台打印:
Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
我的数据库配置为:
看到网上大部分都在说是时区问题,尝试了,没有用(图片中即为尝试过后的写法)。
后来发现是useSSL=false写成了userSSL=false
离离原上谱!一个小bug就能改一天,大家注意低级错误,很多错误可能都不是大错,可能都是一些笔下误。
且行且珍惜。。。