[Mediawiki-l] Problems with MySQL apparently

Evan Sherwood evan.sherwood at gmail.com
Wed Oct 19 15:58:08 UTC 2005


I'm trying to install MediaWiki 1.5.0 on IIS 6, PHP5, and MySQL 5.0, using
config/index.php install helper, however I get the following error:
 Initialising "MediaWiki" namespace...
A database error has occurred
Query: INSERT INTO `page`
(page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest)
VALUES (NULL,'8','1movedto2','0','sysop','0','1','0.837402787644
','20051019153650','0')
Function: Article::insertOn
Error: 1364 Field 'page_len' doesn't have a default value (localhost)

Backtrace:
GlobalFunctions.php line 451 calls wfBacktrace()
Database.php line 400 calls wfDebugDieBacktrace()
Database.php line 350 calls Database::reportQueryError()
Database.php line 940 calls Database::query()
Article.php line 943 calls Database::insert()
InitialiseMessages.inc line 189 calls Article::insertOn()
InitialiseMessages.inc line 72 calls initialiseMessagesReal()
updaters.inc line 670 calls initialiseMessages()
index.php line 592 calls do_all_updates()
 I don't know much about MySQL, but from what I've been able to decipher
about the error message, it saying that there's no value specified for the
field 'page_len'? But 'page_len' doesn't even seem to be in the list of
created fields. A query into the database shows that nothing lives in the
'page'.
 Any help would be much appreciated.
 Thanks,
-Evan



More information about the MediaWiki-l mailing list