From 502a4277c47c7afed67c1e367f6be913931e7c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Fr=C3=B6hlich?= Date: Sat, 6 Apr 2013 16:47:54 +0200 Subject: [PATCH] More --- INSTALL.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 1be305c..9b8a966 100755 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -34,12 +34,17 @@ Setup GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user; - Change the database context to the newly created cats_db: USE cats_db; -- Execute the scripts from the database subdirectory to create the database structure. +- Execute the scripts from the database subdirectory to create the database structure: + SOURCE create_db.sql; - Check the current version of the database: SELECT MAX(version) FROM schema_version; - Execute all update*.sql in numerical order which have a number bigger than the current schema version. If the select statement returns an error (ERROR 1146 (42S02): Table 'cats_db.schema_version' doesn't exist) execute all of them. + SOURCE update1.sql; +- You will probably want to load a sample test by executing sample_test.sql from the + database directory: + SOURCE sample_test.sql; - Change to cats directory, copy index.php.template to index.php - Edit index.php, replace the string "FILEPATHTOHERE" with the absolute path of the @@ -47,7 +52,6 @@ Setup - Change to the includes subdirectory - Copy db_connect.inc.template to db_connect.inc - Edit db_connect.inc -- You may want to install a sample test by executing sample_test.sql from the database directory - Make sure that the directive "SSLVerifyClient optional" or "SSLVerifyClient require" are active for the CATS web directory, otherwise no client certificate login is requested