如何增加mysql连接 [英] how do increase the mysql connections

查看:134
本文介绍了如何增加mysql连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前正在使用mysql服务器的网站上工作,但是当它达到最大连接时它会说太多的mysql连接(错误),因为手动我需要增加mysql命令提示符的连接。但我需要这样做如果连接达到100表示​​自动化,我需要增加no。使用c#的最大连接数,这样每当它到达i时,它将执行c#方法,以便它改变最大值。用户

Currently am working on a website which uses mysql server but when it reaches maximum connections it says too many mysql connections(error),for that manually i need to increase the connections from mysql command prompt.but i need to do that as an automation as in like if the connections reaches say 100 i need to increase the no. of max connections using c# so that whenever it reaches i will execute the c# method so that it changes maximum no. of users

推荐答案

从这里开始: http://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html [ ^ ]


这篇关于如何增加mysql连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆