Skip to content
Snippets Groups Projects
Commit d8a3822b authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

DOC: update documentation

parent e6cc3a28
No related branches found
No related tags found
No related merge requests found
...@@ -6,18 +6,17 @@ ...@@ -6,18 +6,17 @@
- make - make
## Create the configuration ## Create the configuration
* Run `./configure`. For the default values and the meaning of these default * Create an empty `.config` file. For the default values and the meaning of these default
values see [config.defaults](config.defaults). The `configure` script also values see [config.defaults](config.defaults). For each parameter that you
prompts for a (new) user password. Remember that one, since it will be the want to change, add a corresponding line in your `.config` file. You probably
password of the mysql user which is used by the caosdb server. Upon succesful want to change the passwords. As plain password are stored in the `.config` file,
completion, the `configure` script writes the configuration to `.config`.
* If there is no `mysql-config-editor` (`MySQL 5.5`. and `MariaDB`) then the
user is prompted for the `MYSQL_USER_PASSWORD`, that is the password of
the `MYSQL_USER`. The plain password is stored in the `.config` file. So
make sure nobody else can read it. make sure nobody else can read it.
* If there is no `mysql-config-editor` (`MySQL 5.5`. and `MariaDB`) then the
user is needs to provide the `MYSQL_USER_PASSWORD`, that is the password of
the `MYSQL_USER`.
* If you are using MariaDB and the `root` database user uses pam authentication, * If you are using MariaDB and the `root` database user uses pam authentication,
no pasword string is required. When prompted for the `MYSQL_USER_PASSWORD` no pasword string is required. You can set the `MYSQL_USER_PASSWORD`
just leave it blank and hit enter. But you need be login as root for the to an empty string. But you need to be logged in as root for the
installation and upgrade process. installation and upgrade process.
## Setup the SQL database for CaosDB ## Setup the SQL database for CaosDB
......
...@@ -112,8 +112,8 @@ function install_db() { ...@@ -112,8 +112,8 @@ function install_db() {
if _db_exists ; then if _db_exists ; then
echo -e "\n echo -e "\n
A database with with the name '$DATABASE_NAME' exists already. A database with with the name '$DATABASE_NAME' exists already.
Call 'make drop-$DATABASE_NAME' to delete that database or reconfigure with Call 'make drop-$DATABASE_NAME' to delete that database or change the database
'./configure'." name in your .config file "
exit 0 exit 0
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment