Last modified: 2014-03-19 19:35:14 UTC
If the german wikipedia (webserver?) can't connect to the database it brings the message "Konnte keine Verbindung
zur Datenbank auf $1 herstellen." (says "Could not establish connection to database on $1" or so.).
On the "noticed problems" page of the german section a user asks for a more descriptive message for not so
*** Bug 3785 has been marked as a duplicate of this bug. ***
Initial comment from Christopher Beland <firstname.lastname@example.org>, at 2005-10-23
The past few days, I've occasionally been getting an error message that ends in
the diagnostic "(Can't contact the database server: )". It would be
considerably more helpful if this message contained the IP address or name of
the server it was attempting to contact, if not also the IP address or name of
the squid that produced the error. People seem to be reluctant to check all of
the servers just on the off chance there might still be a problem, especially
since the error is quite transient.
Today, I got one error that said:
If reporting this error to the Wikimedia System Administrators, please include
the following details:
Request: GET http://en.wikipedia.org/wiki/Category:Broadcasting, from 0.0.0.0
via srv8.wikimedia.org (squid/2.5.STABLE12) to en.wikipedia.org ([unknown])
Error: ERR_CANNOT_FORWARD, errno (104) Connection reset by peer at Sat, 03 Dec
2005 23:49:16 GMT
And another that said:
The requested URL could not be retrieved
While trying to retrieve the URL: http://en.wikipedia.org/wiki/Category:Memetics
The following error was encountered:
* Connection Failed
The system returned:
(110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is email@example.com.
Generated Sat, 03 Dec 2005 23:50:06 GMT by srv7.wikimedia.org
If the IP address of the MySQL server which is down is known, it should be
included in these messages. -B.
LATER per Brion at bug18824c3.
*** Bug 18824 has been marked as a duplicate of this bug. ***
Better summary than "Mediawiki:"
I think I got distracted... :D
What I was *trying* to write was that this only applies to [[MediaWiki:dberrortext]]...
Is this even necessary? Would simply improving the default message (especially if it can link to a config-defined status page) help here?
Makes sense to me, if the default message both contains useful diagnostic information and an introductory message friendly to non-technical users.
[Reopening "RESOLVED LATER" as lowest priority.]
Strings are around "# General errors" in https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=languages/messages/MessagesEn.php#l973
Is this bug really relevant anymore? Because I can not really find the message that had been posted at first, maybe it has changed or something?
Key is the same: https://translatewiki.net/wiki/MediaWiki:Dberrortext/en
A database query syntax error has occurred.
This may indicate a bug in the software.
The last attempted database query was:
from within function "<code>$2</code>".
Database returned error "<samp>$3: $4</samp>".
So, the German message says the same thing, I suppose ( Pardon me, if I am too wrong. I don't really know German). If it does not have any problem with the message - maybe we should close this bug?
The message is always the same and the same still applies...
Brion's bug 18824 comment 3
> I'm pretty sure we deliberately don't use the site-customized messages in the
> DB error since by definition if our DB access is broken it may not be safe to
> pull from the DB. You don't necessarily know what the problem was or what
> further attempts to access the backend might cause. Probably not worth the
> effort of poking at it, but we can LATER it for prettification.