I have an old private scratch 1.4.x installation I just want to throw out completely before installing 1.5.2.
Beyond deleting the wiki directory, I presume that I just need to drop all the MediaWiki MySQL tables.
Is there a reference script to do this anywhere? (My searches haven't turned one up, nor any specific instruction for a complete MediaWiki uninstall/wipe.)
Thanks for any pointers.
- Gordon @ Bitzi
Gordon Mohr (@ Bitzi) wrote:
I have an old private scratch 1.4.x installation I just want to throw out completely before installing 1.5.2.
Beyond deleting the wiki directory, I presume that I just need to drop all the MediaWiki MySQL tables.
Is there a reference script to do this anywhere? (My searches haven't turned one up, nor any specific instruction for a complete MediaWiki uninstall/wipe.)
If you don't have any other tables in the database, you can just drop the whole thing, such as:
DROP DATABASE wikidb;
If you do have other things you want to save in there, you can drop each table individually:
USE wikidb; DROP TABLE cur; DROP TABLE old; etc
The list of table definitions is in maintenance/tables.sql, or you can just do a SHOW TABLES and kill the ones you don't recognize from something else.
-- brion vibber (brion @ pobox.com)
Thanks! I added a brief acknowledgement that these are the only necessary steps as a last 'Uninstalling'section of the install instructions at:
http://meta.wikimedia.org/wiki/Help:Installation#Uninstalling
- Gordon @ Bitzi
Brion Vibber wrote:
Gordon Mohr (@ Bitzi) wrote:
I have an old private scratch 1.4.x installation I just want to throw out completely before installing 1.5.2.
Beyond deleting the wiki directory, I presume that I just need to drop all the MediaWiki MySQL tables.
Is there a reference script to do this anywhere? (My searches haven't turned one up, nor any specific instruction for a complete MediaWiki uninstall/wipe.)
If you don't have any other tables in the database, you can just drop the whole thing, such as:
DROP DATABASE wikidb;
If you do have other things you want to save in there, you can drop each table individually:
USE wikidb; DROP TABLE cur; DROP TABLE old; etc
The list of table definitions is in maintenance/tables.sql, or you can just do a SHOW TABLES and kill the ones you don't recognize from something else.
-- brion vibber (brion @ pobox.com) _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org