[DOC] rectify galera recovery for systemd
the command to start with --wsrep-new-cluster is not correct, we need to set the env in systemd. Change-Id: I759cd745c4be9f2717606f28d21970acfec752d1
This commit is contained in:
parent
8224fbcede
commit
01de317648
@ -84,7 +84,9 @@ one of the nodes.
|
|||||||
## for init
|
## for init
|
||||||
# /etc/init.d/mysql start --wsrep-new-cluster
|
# /etc/init.d/mysql start --wsrep-new-cluster
|
||||||
## for systemd
|
## for systemd
|
||||||
# systemctl start mysql --wsrep-new-cluster
|
# systemctl set-environment _WSREP_NEW_CLUSTER='--wsrep-new-cluster'
|
||||||
|
# systemctl start mysql
|
||||||
|
# systemctl set-environment _WSREP_NEW_CLUSTER=''
|
||||||
|
|
||||||
Please also have a look at `upstream starting a cluster page <http://galeracluster.com/documentation-webpages/startingcluster.html>`_
|
Please also have a look at `upstream starting a cluster page <http://galeracluster.com/documentation-webpages/startingcluster.html>`_
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user