解决Data source rejected establishment of connection, message from server: “Too many connections“的错误
文章目录1.复现错误2.分析错误3.解决问题4.补充说明1.复现错误今天在启动项目后,控制台却报出如下错误:java.sql.SQLNonTransientConnectionException:Datasourcerejectedestablishmentofconnection,messagefromserver:"Toomanyconnections"atcom.mysql.cj.jdbc.