[Mediawiki-l] Problem loading wikipedia xml data to database using mwdumper

Brion Vibber brion at pobox.com
Thu May 24 22:05:04 UTC 2012

On Thu, May 24, 2012 at 3:01 PM, Khanh Nguyen <ndkhanh824 at gmail.com> wrote:

> However, I got this error: "ERROR 1146 (42S02) at line 33: Table
> 'wikidb.text' doesn't exist".
>  You can see the detail output messages from the link below:
>          http://pastebin.com/Y6WXhxnq

mwdumper's conversion to SQL doesn't actually create the tables for you, it
just inserts data into them assuming they already exist.

You can grab maintenance/tables.sql from a MediaWiki download and source
that into your database first to create the empty tables.

-- brion

More information about the MediaWiki-l mailing list