手册:DBError.php
Appearance
MediaWiki文件: DBError.php | |
---|---|
位置: | includes/libs/rdbms/exception/ |
源代码: | master • 1.42.3 • 1.41.4 • 1.39.10 |
类: | Wikimedia\Rdbms\DBError |
DBConnectionError
这是一个臭名昭著的错误:
抱歉!本网站出现了一些技术问题。 请等待几分钟后重试。
如果你看到这一点,数据库很不高兴,但至少MediaWiki还活着,并知道这一点。
无法连接到数据库
I haven't solved this for myself yet, but you should look into it following the same way I did.
- Check out the apache2 error log. If you're on ubuntu this was at "/var/log/apache2/error.log" by default when I wrote this.
- In my case, I got the following error .... "MySQL server has gone away in" .... followed by .... Error reading result set's header in ......
- This was supposedly caused by connection problems. Search those two terms and you should see several different places where people address it. Good luck!