From: Jean-Christian I. <jea...@mi...> - 2004-08-10 00:35:30
|
Reini Urban wrote: > > phpwiki does not create the database and does not create any tables. Huh? If phpwiki does not create the tables, who does? The install docs don't mention the need to create any tables ... > The rest of your questions are not phpwiki specific at all. Sure they are, without it I can't get phpwiki up and running :) I'm trying to install phpwiki and the installation documentation doesn't cover my specific installation platform very well and I need help. > You have to make your own decisions, based on other (external) libraries > and modules. > If not, use the default gdbm. gdbm not installed and I don't have root access. > Please google for any database documentation on DSN strings. This is not > phpwiki specific. See esp. the Pear::DB documentation. > > * + phptype: Database backend used in PHP (mysql, odbc etc.) > * + dbsyntax: Database used with regards to SQL syntax etc. > * + protocol: Communication protocol to use (tcp, unix etc.) > * + hostspec: Host specification (hostname[:port]) > * + database: Database to use on the DBMS server > * + username: User name for login > * + password: Password for login Ah ... much better. Now *that* (or a link to it) in the installation docs would be of great help to future new users. >> #3 From the above example for a DSN I assume that I need to create the >> DB myself? I didn't see anywhere in the documentation that said I needed >> to create a DB ... why can't phpwiki create the DB itself? > > Because we have no installer yet. > And we didn't want to store the DB root password anywhere. Couldn't phpwiki ask for the password once, just to create the DB and necessary tables? > There's a Makefile which you might find useful. > You need to set the root name and password though. I assume that's a Makefile for creating the db stuff? I'll try and find it and see what I can make of it. Unfortunately phpwiki won't run on my php5 installation b/c of some fatal errors. I'll check to make sure I have the most recent version of phpwiki but if it won't run on php5 getting a connection to postgresql might be moot :( That would be a shame as we were hoping to use it as our internal wiki Thanks for the helpful info! -- Jean-Christian Imbeault Assistant Manager Technology Department _____________________________________ Mizuho Securities Co, Ltd. Tel: (03) 5208-2932 (direct) |