]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - INSTALL.mSQL
Changed primary key to (pagename, version) in table archive to allow muliple pages...
[SourceForge/phpwiki.git] / INSTALL.mSQL
1 Note: mSQL will not be supported in the 1.3 development branch, unless
2 someone wants to assume responsibility for it. When the new version of
3 mSQL is released we might reconsider it, but there has been no demand
4 for a mSQL based Wiki so far. --Steve Wainstead, swain@panix.com
5
6
7 mSQL support is fairly stable. However, due to the limitations of
8 mSQL's SQL syntax, certain features found in the MySQL and Postgresql
9 versions are not available. This is not to say they can't be done, but
10 it will require a lot more code in msql.php to compensate for the lack
11 of advanced SQL syntax. Simplicity is one of mSQL's virtues however.
12
13 Setting up mSQL is beyond the scope of this document. See
14 http://www.hughes.com.au/ for information on downloading and
15 instructions.
16
17 Create the database. You might need system privledges to do this:
18
19 [root@localhost phpwiki]# msqladmin create wiki
20 Database "wiki" created.
21 [root@localhost phpwiki]# 
22
23 Load the database schema (here I'm in the phpwiki/ directory created
24 after untarring the application):
25
26 [swain@localhost phpwiki]$ msql wiki < schemas/schema.minisql 
27
28 You will see a few error messages like this: 
29
30 mSQL >     -> 
31
32 ERROR : Unknown table "wiki"
33
34 This is normal because the schema file drops the table and then
35 creates it... dropping a nonexistent table is a nonfatal error and you
36 don't have to worry about it. You should see a lot of these:
37
38 mSQL >     ->     -> 
39 Query OK.  1 row(s) modified or retrieved.
40
41
42
43
44 mSQL >     -> 
45 Bye!
46
47
48
49 Now the database is created; edit lib/config.php and comment out the
50 DBM file settings. Uncomment the mSQL settings, making sure the values
51 are correct.
52
53 That should be all! Try accessing your Wiki now. Read INSTALL and
54 README for more information, plus the comments in lib/config.php.
55
56 --Steve Wainstead
57 swain@panix.com
58
59 $Id: INSTALL.mSQL,v 1.4 2001-03-02 00:38:50 wainstead Exp $