mysql - How can I recover MediaWiki pages from an old MAMP install? -


i have 3 year old or mamp install (a copy of application folder , contents, databases, etc.) 3 year old mediwiki (version 1.19) installed on it, several pages, , few images. know how can access pages (or @ least content on them) , import them or copy them on fresh install made today latest versions of mamp , mediawiki.

i tried copying database folder (mamp/db/mysql/my_database; contains .frm files) old install same location in new install doesn't seem have changed anything. looked @ contents of tables phpmyadmin didn't find of old content. go here?

i installed mamp on macbook pro running osx yosemite. i'm hosting locally (e.g. using localhost). able install fresh mediawiki on localhost mamp server , works fine (there's no content).

update: after seeing this changed $wgmaincachetype = cache_accel $wgmaincachetype = cache_anything in mediawiki local settings file , error page looks this:

enter image description here

do need somehow upgrade databases? old after all. how should go doing this?

shutdown mysql

just copying mamp/db/mysql/my_database not enough

copy contents of db folder , below new mamp db folder

note assume new mamp pretty virgin

poached here :

http://joejoomla.com/sound-off/157-how-to-upgrade-mamp.html

start new mysql

will incl necessary config files

it not if should have expected mamp recurse directories

it needs config files old , don't have them yet

i have never done on mamp


edit: concerning warning resulted

make sure xcache installed new version of php. cause new version of php doesn't have xcache installed. can creating php file code

<?php phpinfo(); ?> 

and viewing in web browser.

setting $wgmaincachetype = cache_none; disable caching, prevent error, make things slow.

from: http://m.mediawiki.org/wiki/thread:project:support_desk/%22cache_accel_requested_but_no_suitable_object_cache_is_present.%22


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -