Moon Light Box

Time is Money

MariaDB - Re-Start Cluster Failed

| Comments

[ERROR] WSREP: It may not be safe to bootstrap the cluster from this node. It was not the last one to leave the cluster and may not contain all the updates. To force cluster bootstrap with this node, edit the grastate.dat file manually and set safe_to_bootstrap to 1 .
// see

# vim /YOUR_MYSQL_DB_PATH/grastate.dat

# GALERA saved state
version: 2.1
uuid:    e02c98a9-e147-11e6-b6e9-e2d770b0c2ba
seqno:   -1
safe_to_bootstrap: 0 -> 1
# docker exec -it mariadb bash


mysql -u root -p

wsrep_incoming_addresses     |,,
wsrep_local_state_comment    | Synced


comments powered by Disqus