mirror of
https://github.com/CAcertOrg/cats.git
synced 2024-11-21 21:14:02 +00:00
More
This commit is contained in:
parent
f4b5012a08
commit
502a4277c4
1 changed files with 6 additions and 2 deletions
|
@ -34,12 +34,17 @@ Setup
|
||||||
GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user;
|
GRANT DELETE, INSERT, SELECT, UPDATE ON cats_db.* TO cats_user;
|
||||||
- Change the database context to the newly created cats_db:
|
- Change the database context to the newly created cats_db:
|
||||||
USE 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:
|
- Check the current version of the database:
|
||||||
SELECT MAX(version) FROM schema_version;
|
SELECT MAX(version) FROM schema_version;
|
||||||
- Execute all update*.sql in numerical order which have a number bigger than the current
|
- 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
|
schema version. If the select statement returns an error (ERROR 1146 (42S02): Table
|
||||||
'cats_db.schema_version' doesn't exist) execute all of them.
|
'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
|
- Change to cats directory, copy index.php.template to index.php
|
||||||
- Edit index.php, replace the string "FILEPATHTOHERE" with the absolute path of the
|
- Edit index.php, replace the string "FILEPATHTOHERE" with the absolute path of the
|
||||||
|
@ -47,7 +52,6 @@ Setup
|
||||||
- Change to the includes subdirectory
|
- Change to the includes subdirectory
|
||||||
- Copy db_connect.inc.template to db_connect.inc
|
- Copy db_connect.inc.template to db_connect.inc
|
||||||
- Edit 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"
|
- Make sure that the directive "SSLVerifyClient optional" or "SSLVerifyClient require"
|
||||||
are active for the CATS web directory, otherwise no client certificate login is requested
|
are active for the CATS web directory, otherwise no client certificate login is requested
|
||||||
|
|
Loading…
Reference in a new issue