I build a wiki using MediaWiki. Initially, I used a remote database (clearDB), as setup was faster. I now want to migrate the data, and use a db local to the server instead.
My current db settings in Localsettings.php
## Database settings
$wgDBtype = "mysql";
$wgDBserver = "us-XXXX-XXXX-XXX-XX.cleardb.net";
$wgDBname = "heroku_XXXXXXXXX";
$wgDBuser = "XXXXXXXXX";
$wgDBpassword = "XXXXXXXXXX";
Obviously, if I just "changed" the $wgDBserver
to localhost
, it won't work.
What needs to be done to migrate the old data and default MediaWiki architecture to a new db local to the server?