Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
5771454d
Commit
5771454d
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix mysql permissions"
parents
f8c2f030
3f1a3c38
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/galera/config-galera.sh
+1
-2
1 addition, 2 deletions
docker/galera/config-galera.sh
docker/galera/start.sh
+2
-0
2 additions, 0 deletions
docker/galera/start.sh
with
3 additions
and
2 deletions
docker/galera/config-galera.sh
+
1
−
2
View file @
5771454d
...
...
@@ -32,6 +32,5 @@ function bootstrap_db {
}
function
populate_db
{
mysql_install_db
chown
-R
mysql: /var/lib/mysql
mysql_install_db
--user
=
mysql
}
This diff is collapsed.
Click to expand it.
docker/galera/start.sh
+
2
−
0
View file @
5771454d
...
...
@@ -14,6 +14,8 @@ set_configs
# loading functions
source
/opt/kolla/config/config-galera.sh
chown
mysql: /var/lib/mysql
# This catches all cases of the BOOTSTRAP variable being set, including empty
if
[[
"
${
!KOLLA_BOOTSTRAP[@]
}
"
]]
&&
[[
!
-e
/var/lib/mysql/cluster.exists
]]
;
then
ARGS
=
"--wsrep-new-cluster"
...
...
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