Thread:Project:Support desk/Where does Mediawiki store page content?/reply

Hi!

Each page has a record in the table "page". The page content is stored in the database table "text" (there you find the actual text).

What have you done to set up MediaWiki on the new server? Have you run the installer? The different database table names look to me like you did exactly that and during this process you defined another table prefix than you had before. In that case a possible fix would be to change the prefix back to the old one in LocalSettings.php.

I would set up a wiki from backup differently:

You say you have a backup of your wikidb. Is it a SQL dump, a .sql file? If so, import the contents of such a file on the new MySQL server. You will then get a new DB with exactly the same content, which you had before. Then copy all your old MediaWiki files in place (including LocalSettings.php). If you have changed the MySQL username, password or host, adjust these and things should be going.