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
8 comments:
wow, this is probably the most vague/ambiguous "tutorial" i've seen in my entire life. might want to go into a little more detail in the future.
I think it is one of the BEST "tutorials" I have ever seen... no BS no superflous jiberish.. straight to the point.. thanks Suji!
Agree with Ronin. That's just what I wanted to know. Not usefull if you don't know nothing about mysql or apache, but in that case, you don't have to play with mediawiki. =)
Hi,
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
Nice. Thanks for the how-to. That saved me a lot of research.
@craig0r -- it's not a "tutorial". it's not a HowTO. It's called a "blog" or web log. This domain is called "blogger" which suggests to me it's a collection of "blogs" or "weblogs" if you're over 40.
Suji, You seem to have forgotten the step where the database is imported on the new server...
Something like:
cat wikidb_dump.sql | mysql -p wikidb_1_15
Post a Comment