时间:2021-07-01 10:21:17 帮助过:20人阅读
docker run --rm -ti -e CLUSTER_NAME=test -e MYSQL_ALLOW_EMPTY_PASSWORD=1 --entrypoint="bash" -v `pwd`:/test percona/percona-xtradb-cluster:5.6.36
setsid /usr/bin/mysqld_safe --wsrep-new-cluster
rm -rf /etc/mysql/my.cnf && cp my.cnf /etc
show global status like
‘wsrep%‘
;
percona xtradb cluster test
标签:clu try rm -rf 5.6 stat oba docker percona name