一开始用的MySQL8.0版本
解决办法:
将mysql改为5.1.6
- SQLException connection localhost 错误 createsqlexception connection localhost错误 connection localhost错误failed 39 sqlexception localhost password sqlexception connection exception interrupt hikaridatasource sqlexception connection hikaripool jdbctemplate sqlexception connection errorcode quot sqlexception connection errorcode mysql localhost 39 connect connection the localhost actions connection the localhost refused