How to migrate MediaWiki?
MediaWiki Migration
Old Server:
mysqldump -u root -p wikidb > wikidb.sql
tar -cvf wiki.tar wiki ;this is the wiki folder on document root
New Server:
create database wikidb; this is inside mysql, Note that both mysql versions should be same.
grant create, select, insert, update, delete, lock tables on wikidb.* to wiki@localhost identified by 'YourPassword' ;
MediaWiki Upgrade
copy all the new files to wiki folder and then
run php update.php from maintenance folder after updating AdminSettings.php
Comments
I need to migrate existing midiawiki with all the contents as is to another box.
What all do I need new machine as pre-requisites and how to transfer the site to new server.
It will be of great help if you can provide with quick instructions.
Thanks in advance.
regards,
-Vishi
Something like:
cat wikidb_dump.sql | mysql -p wikidb_1_15