Created
November 22, 2016 17:36
-
-
Save fipar/22bf22cb77689f1bcad5639c15630686 to your computer and use it in GitHub Desktop.
bootstrap PXC on Centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm | |
packages=""; for p in client-56 server-56; do packages="$packages Percona-XtraDB-Cluster-$p"; done; yum install $packages | |
systemctl start mysql@bootstrap.service | |
mysql -e 'show global status like "wsrep_cluster%"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment