Topic on Project:Support desk

How can people move the mediawiki to another linux server?

5
118.160.226.90 (talkcontribs)

I save the mysql databae(/var/lib/mysql/) and instalation(/var/www/) to another linux machine, but I find I can't work mediawiki fine. I use the same method and I think the method can move the discuz! and wordpress data to the another linux os successfully.

All the message show at below.

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT page_title FROM `page` WHERE page_is_redirect = '0' AND page_namespace = '8' AND (page_title NOT LIKE '%/%' ) AND (page_len > 10000)
Function: MessageCache::loadFromDB(en)-big
Error: 1146 Table 'MEDIAWIKI.page' doesn't exist (IP)

I also visit this this page, but it still doesn't useful.

Could MediaWiki provide any official tutorial to let people move their mediawiki to another machine?

Jasper Deng (talkcontribs)
88.130.91.250 (talkcontribs)

The interesting part of your error message is the line

Error: 1146 Table 'MEDIAWIKI.page' doesn't exist 

MediaWiki tries to use a database called MEDIAWIKI - is that really the name of the database, which you want to use?

220.133.190.48 (talkcontribs)

Thanks for these replies, my friends

Yes, MEDIAWIKI is mysql database name

I will fellow the "Manual:Moving a wiki" step by step again first, and I hope it can work I may come back later ^^b

88.130.120.27 (talkcontribs)

OK. If MEDIAWIKI is the right database, then this database does not contain, what it should contain. It should contain around 80(?) tables; see DB. The most important ones are "page" and "text". It seems like in your case at least the table "text" is not there.

When you move the wiki again take care that you actually import the complete(!) database.

Reply to "How can people move the mediawiki to another linux server?"