Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-mysqlbackend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-mysqlbackend
Commits
d8a3822b
Commit
d8a3822b
authored
Apr 7, 2020
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
DOC: update documentation
parent
e6cc3a28
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README_SETUP.md
+9
-10
9 additions, 10 deletions
README_SETUP.md
utils/make_db
+2
-2
2 additions, 2 deletions
utils/make_db
with
11 additions
and
12 deletions
README_SETUP.md
+
9
−
10
View file @
d8a3822b
...
@@ -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 log
ged
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
...
...
This diff is collapsed.
Click to expand it.
utils/make_db
+
2
−
2
View file @
d8a3822b
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment