Thread:Project:Support desk/Database error after upgrading/reply

Hi!

When you are a MySQL expert and when MySQL is configured accordingly then there might be a slight chance to undo the changes by using MySQL tools. However, that is not likely...

You say that before the upgrade you get this error message. This points to the fact that you are using a database, which has last been updated for an older version of MediaWiki. There is nothing bad about that; getting this error then is usual behaviour. What exactly do you mean with "empties the database"? Does it show you the main page with some default text on it or does it not show you any page at all?

However, when after running update.php this database does not show the pages then I guess that your database in fact does not contain them?! Maybe you imported only the structure of the old DB, but not the actual content? Or the dump was created with --no-data flag or something like that? In that case take a backup, which contains your stuff (including the data!) and use that one.

Also take note of this thread: http://www.mediawiki.org/wiki/Thread:Project:Support_desk/upgrade_from_1.16.1_to_1.21.1_failing There things worked with some dirty hacks and when - instead of the shell - the web updater was used.