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