Recently a c# web site I've been working on has been throwing a -
mysql has exceeded the 'max_user_connections
error. I've checked my code and believe I'm closing all open connections when I should do. After running the SHOW PROCESSLIST
command it lists a number of processes where the state is 'sleep' and the 'info' is null, similar to this Stack Overflow question -
Mysql show processlist lists many processes sleep and info = null?
Is there anything I can do either in the database set-up or in my connection string that will prevent MySql hanging on to processes? My connection string currently looks like this -
server=server;User Id=user;password=****;Persist Security Info=True;database=mysql5_867860_footytriv;Pooling=true;Min Pool Size=10;Max Pool Size=15
The web site is hosted on discountasp.net