Mysql - pool number


Is there anyway to set a limit on the number of pooled connections to the DB? I’m currently using an external db (running on azure) with a connection limit of 15 and I’m occasionally receiving errors that rancher is consuming too many connections (though it appears that most of them are sleeping.)

The requirements of Rancher server is to have max connections > 150.