关于最近Error establishing a database connection的问题

angel-cover

话说好长的标题啊= =

最近茶馆总是出现Error establishing a database connection的错误,至少在我访问的时候几乎一天一次的频率.

所以今天就研究了一下,不过还是没发现原因是什么.故求高人指点~

首先再出现问题之后,我登陆bluehost的后台发现无法检测到数据库,上网搜了一下说是由于服务器的某些原因,导致数据库断开连接.

但这几天都这样也太频繁了点吧?

然后一般等半个小时左右就有恢复正常了,现在怀疑是插件的原因,所以禁用了一些插件,过几天再看看效果吧~

刚才检查数据库的时候发现这个提示,有谁明白这个是啥意思吗?

The number of records for InnoDB tables is not correct.

phpMyAdmin uses a quick method to get the row count, and this method only returns an approximate count in the case of InnoDB tables. See $cfg[‘MaxExactCount’] for a way to modify those results, but this could have a serious impact on performance.

最后如果谁知道这个是怎么回事的话,请留言告知一下,不胜感激~

92 thoughts on “关于最近Error establishing a database connection的问题

  1. Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SE 2.X; .NET CLR 2.0.50727; SE 2.X)

    看图片来的,图片真的不错。

  2. 360Safe Explorer 360Safe Explorer Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; 360SE)

    :mrgreen: Error establishing a database connection=无法连接到数据库,请检查用户名、密码
    觉得问题可能在数据库的用户权限限制上,因为这问题出的最明显的时候是在试用了主题atahualpa后,这个主题功能强大,但是有个说法说他对数据库的读取量大(几十倍???)于是用默认主题。问题出现的时间段对于在美国的主机在北京时间的晚上刚好是人家大兵早上工作上网的高峰时间(服务器负荷大)。先在自己空间中控制数据库的访问量,可删除文章访问数统计插件WP-PostViews(因为每有一个人去访问WordPress它就需要访问一个数据库去更新数据)。

    总结:Error establishing a database connection问题的出现不一定真是数据库有了错误,而可能是同一时间内数据库的访问量大耳出现主机的暂时限制(无法访问),所以要停用一些增加数据库读取的插件或主题。

    PS:网上找的,不知有否帮助?

  3. Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)

    @李掌柜
    不知道AB以后有没有第二季或者特别篇什么的…

  4. Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; SE 2.X)

    原来如此。。@李掌柜
    音乐在哪里有在线试听~想听听呢~最近只被天元突破和化物语萌到了~啊~还有荒川~每周必看~

  5. Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

    @红莲转左
    可以去这里听听http://www.webacg.com/music/2010/06/215/715.html
    真的很好听

  6. Internet Explorer 8.0 Internet Explorer 8.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    是不是负载太高,加个super cache 插件试试,话说我进来是来看天使的图片的,(*^__^*) 嘻嘻……

  7. Internet Explorer 7.0 Internet Explorer 7.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Embedded Web Browser from: http://bsalsa.com/)

    虽然很长,可是但看标题我完全不懂什么意思呢~呵呵呵

  8. Google Chrome 5.0.375.99 Google Chrome 5.0.375.99 Windows XP Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    😳 总是不满意ab的眼睛的画法呢 觉得有点诡异

  9. Firefox 3.6.6 Firefox 3.6.6 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

    @kookoo
    一个人设一个风格吧,总不能让所有人都满意的..

  10. Google Chrome 5.0.375.99 Google Chrome 5.0.375.99 Windows XP Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    最终解决了没?
    我在wimp,也刚碰上这问题。 😐

  11. 360Safe Explorer 360Safe Explorer Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; 360SE)

    嗯~麻婆豆腐啊,好好吃。难怪会眼冒金星了

  12. Firefox 3.6.8 Firefox 3.6.8 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

    @猴子
    应该算是解决了,至少这段时间再也没碰到过

  13. Firefox 3.6.8 Firefox 3.6.8 Windows XP Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

    我最近也常遇到这个问题!

  14. Google Chrome 5.0.375.127 Google Chrome 5.0.375.127 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4

    你好,我也是bluehost,今天也碰到了这个问题,不知道是否由于今天访问数过多的缘故,你是如何解决的呀?能否邮件告诉我,谢谢。

  15. Google Chrome 6.0.472.63 Google Chrome 6.0.472.63 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3

    嗯,我的也开始出现这个问题了。我的解决办法是给000web他们发邮件要求重启虚拟主机,目前网站还是好的。

  16. Google Chrome 7.0.517.44 Google Chrome 7.0.517.44 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7

    -_-|||怎么解决的??

  17. Firefox 5.0 Firefox 5.0 Windows XP Windows XP
    Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0

    我的也是这样!貌似我是安装腾讯的weibo才这样的!

  18. Opera 11.11 Opera 11.11 Windows XP Windows XP
    Opera/9.80 (Windows NT 5.1; U; zh-cn) Presto/2.8.131 Version/11.11

    求教博主是如何解决这个问题的,我也是这样啊,每天一次,被折腾死了

  19. Google Chrome 12.0.742.100 Google Chrome 12.0.742.100 Windows 7 Windows 7
    Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.100 Safari/534.30

    @路利

    @蚊子
    我是禁用那个统计评论文章点击次数的插件

  20. Google Chrome 10.0.612.3 Google Chrome 10.0.612.3 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.15 (KHTML, like Gecko) Chrome/10.0.612.3 Safari/534.15

    我的今天第一次出现这种情况!刚刚自己又好了,郁闷!

  21. Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    Error establishing a database connection我的也现现这总情况,没是的一会就好,,是并传用户过多。。

  22. Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)

    我的就更加悲具了,直接把我的数据库表里的内容清空。而且其他几个站的表也被清空。纠结!~~~~~

    一天两次,这是我的小站:www.hicoogle.com

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.