How to close previously opened connections? MySQL
I accidentally removed the C# line th开发者_运维百科at used to perform the "close" method with the opened connection. Now MySQL tells me that "too many connections" has been opened. I CAN'T ACCESS IT
What should I do!?
Here's some useful information if you can get a manual connection to the server, to manage things like this in the future:
SHOW PROCESSLIST will tell you what connections are still open: http://dev.mysql.com/doc/refman/5.1/en/show-processlist.html
KILL will allow you to destroy said connections: http://dev.mysql.com/doc/refman/5.1/en/kill.html
精彩评论