开发者

How to close previously opened connections? MySQL

开发者 https://www.devze.com 2023-02-28 10:11 出处:网络
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 ACCES

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

0

精彩评论

暂无评论...
验证码 换一张
取 消