1. 程式人生 > >percona xtradb cluster test

percona xtradb cluster test

amp all ets allow try status stat dock mys

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