Christiaan Briggs wrote:
I'm running MediaWiki on our intranet at work. I recently upgraded our server from Mac OS X 10.3 to 10.4. In the process the MySQL default database location appears to have been moved, so MediaWiki couldn't see its database. I've also subsequently reinstalled MediaWiki (but to a more recent version than before the system upgrade), giving it a new database.
[snip]
Thanks, Christiaan
Files I found, which I assume are my database:
[snip]
You really messed it up.
The *.myd and *.frm files (and the others in the dir) are used internally by MySQL. MediaWiki can't do squat with them.
Basically, shutdown MySQL. Either move the files to the current DB location or change the location to match them. Start MySQL and make sure that went ok.
Create AdminSettings.php, according to the template. Then run maintenance/update.php from the command-line (doesn't work on HTTP!) to upgrade the DB schema. Depending on the size of the wiki, this may take some time.
Then try out the wiki before calling it done. Make sure that you can login, logout, edit pages (logged in and anon), upload files, etc. Be especially watchful for session issues.
BTW, I hope you backed up before beginning this project.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.