You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: addons/mysql-cluster/8.0/chart/mysql-cluster/templates/cluster/job.yaml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,8 @@ spec:
67
67
" > /tmp/slave.sql
68
68
mysql -h${HOST_1} -P${MYSQL_MASTER_PORT_NUMBER} -uroot -p${MYSQL_ROOT_PASSWORD} < /tmp/slave.sql
69
69
mysql -h${HOST_2} -P${MYSQL_MASTER_PORT_NUMBER} -uroot -p${MYSQL_ROOT_PASSWORD} < /tmp/slave.sql
70
-
70
+
mysql -h${HOST_0} -P${MYSQL_MASTER_PORT_NUMBER} -uroot -p${MYSQL_ROOT_PASSWORD} -e "GRANT ALL PRIVILEGES ON *.* TO administrator@'%' WITH GRANT OPTION;flush privileges;"
## @param auth.password Password for the new user. Ignored if existing secret is provided
122
122
##
123
123
password: ""
@@ -127,7 +127,7 @@ auth:
127
127
replicationUser: replicator
128
128
## @param auth.replicationPassword MySQL replication user password. Ignored if existing secret is provided
129
129
##
130
-
replicationPassword: "user4_repUU"
130
+
replicationPassword: ""
131
131
## @param auth.existingSecret Use existing secret for password details. The secret has to contain the keys `mysql-root-password`, `mysql-replication-password` and `mysql-password`
132
132
## NOTE: When it's set the auth.rootPassword, auth.password, auth.replicationPassword are ignored.
0 commit comments