我的数据库代码错误 [英] Error in my database code

查看:75
本文介绍了我的数据库代码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里的任何人都可以在此代码中帮助我吗

vBulletin中的

邮件正文数据库错误:

mysql_connect()[<   a     href   ='  function.mysql-connect' >  function.mysql-connect <  /a  > ]:连接过多
/home/coptsarr/public_html/vb/includes/class_core.php在第311行

MySQL错误:
错误编号:
要求日期:2011年10月22日,星期六,下午10:14:09
错误日期:2011年10月22日,星期六,下午10:14:09 



由于您尚未发布PHP代码,因此我只能给出暂定答案.您可以尝试看看您是否正在正确关闭数据库连接,此错误意味着您的网站访问量很大,或者旧的连接没有得到正确处理.

发现此链接谈论您的问题连接过多 [Message body Database error in vBulletin : mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections /home/coptsarr/public_html/vb/includes/class_core.php on line 311 MySQL Error : Error Number : Request Date : Saturday, October 22nd 2011 @ 10:14:09 PM Error Date : Saturday, October 22nd 2011 @ 10:14:09 PM



thanks

since you have NOT posted your PHP code, I would be able to give only tentative answers. You can try and see if you are closing db connections properly, this error means there is either a lot of traffic to your website or the old connections are not being disposed properly.

EDIT: found this link that talks about your kind of problem
too many connections[^]


这篇关于我的数据库代码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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