[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kraft/database
From: Klaas Freitag <freitag () suse ! de>
Date: 2006-11-05 22:16:58
Message-ID: 1162765018.106083.8182.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 602405 by freitag:
Fixed the README
M +12 -18 README
--- trunk/playground/office/kraft/database/README #602404:602405
@@ -18,28 +18,22 @@
The database can be set up using the creation scripts
in Krafts database directory. The scripts do create
the database completely new, even if they exists.
-Unfortunately there is no migration mechanism yet,
-sorry for that.
-To create the database, perform the following steps:
+The standard way however to let Kraft create and maintain
+the database schema for you. All that needs to be done
+is to
+ - start MySQL on the system
+ - have a user and password combination that has acces to
+ the database
+ - create an empty database with a suitable name like for
+ example "kraft".
+ - enter the credentials and the database name in Kraft's
+ config dialog.
-cd database
-mysql -u user -p < create_schema.sql
+Schema creation and maintenance is done by Kraft automatically.
-this creates the database tables in database kraft.
+To create the database, perform the following steps:
-ATTENTION: The command above deletes the database kraft
-if it already exists. THERE IS NO BACKUP DONE YET!!
-
-Fill the database with initial content:
-
-mysql -u user -p kraft < fill_schema_de.sql
-
-this fills the database with some basic settings for
-language german. Other fill_schema scripts for other
-languages can be written, thats the reason for why
-these are two scripts.
-
The database credentials must be entered into the settings
dialog in kraft after the first start. Please restart after
you have entered the data.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic