Manual:DBError.php
MediaWiki file: DBError.php | |
---|---|
Location: | includes/libs/rdbms/exception/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Classes: | Wikimedia\Rdbms\DBError |
DBConnectionError
This is the infamous error:
Undskyld! Siden har tekniske problemer. Prøv at vente et par minutter og opdater så siden igen.
If you see this, the database is very unhappy, but at least MediaWiki is still alive and knows about it.
Kan ikke forbinde til database
If you encounter this issue, follow the steps below to investigate the cause:
- Check the Apache error log. On Ubuntu systems, this log is located at /var/log/apache2/error.log by default.
- Look for error messages similar to the following:
- MySQL server has gone away
- Error reading result set's header
- These messages typically indicate a problem with the database connection.
Searching for these phrases may help you find relevant discussions and potential solutions.
If necessary, review the configuration settings for MySQL and Apache, particularly those related to timeouts and connection limits.