]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - UPGRADING
Jeff's hacks II.
[SourceForge/phpwiki.git] / UPGRADING
1 FIXME: WARNING WARNING: the schemas used by the new databases
2 are completely incompatible with schemas in any previous version
3 of PhpWiki.  If you install this new PhpWiki, you must start with a
4 new empty database (currently either mysql or dba).  (It will be
5 filled with the usual default pages.)
6
7 FIXME: add more.
8
9
10 More comprehensive updgrading information is forthcoming... however in
11 the meantime, this message is in the Open Discussion board on
12 Sourceforge (see URL below for the thread). In it Jeff describes how
13 to dump your current Wiki to a zip file and load the zip file into a
14 new Wiki.
15
16 To: noreply@sourceforge.net
17 Subject: [phpwiki - Open Discussion] RE: convert dbm to mySql
18 From: nobody <nobody@sourceforge.net>
19 Date: Fri, 09 Feb 2001 16:42:57 -0800
20
21 Read and respond to this message at: 
22 http://sourceforge.net/forum/message.php?msg_id=107858
23 By: dairiki
24
25 Yes this is a little clumsy and non-obvious.
26 I'm currently working on making it better (at least
27 in the development branch.)
28
29 In the mean time, here's how I suggest you
30
31 Get either a zip dump, or a serialized dump from your
32 old wiki.
33
34 (If your using a zip dump, it must (for now) be
35 on the server machine.  Copy it there if it's not
36 there yet.)
37
38 Edit lib/config.php in the new wiki and set WIKI_PGSRC
39 to point either to your zip file, or the the serialized
40 dump directory.
41
42 Blow away the database of your new wiki.
43 (Delete the db files for a db base wiki,
44 or do something like:
45   mysql -u <user> -p <database> < schemas/schema.mysql
46 to blow away a mysql based wiki.
47
48 Now with your web browser, go browse to
49 the HomePage of your new wiki.  It will detect
50 that it's working with a virgin database and
51 will pull in the pages from the source
52 specified in WIKI_PGSRC.
53
54 Jeff
55
56
57 $Id: UPGRADING,v 1.3 2001-09-18 19:16:23 dairiki Exp $