[Mediawiki-l] how to fix Database Error

Brion Vibber brion at pobox.com
Tue Sep 13 21:08:39 UTC 2005


Karsch, Jonas wrote:
> Hi,
>
> when saving an article I get "databaseerror" and "internal error", but the article is saved.
> 1. How can resolve this error?

First, read the error message. Turn on $wgShowSQLErrors for more info.
(check DefaultSettings.php for all configurable settings.)

> 2. Where can I find a documentation about fixing database errors?

http://dev.mysql.com/

Please don't forget to use the 'perror' utility to look up MySQL error
numbers. Usually it boils down to "Table marked as crashed" and you
should run 'REPAIR TABLE <tablename>;'

> 3. Where can I find help about how to use the *.php files in wiki/maintenance

No official documentation.

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20050913/4f9a9da8/attachment.pgp 


More information about the MediaWiki-l mailing list