Created
October 2, 2015 17:45
-
-
Save CaptTofu/db045f8d715dd2a3c0f8 to your computer and use it in GitHub Desktop.
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
(ansible-env)Patricks-MacBook-Pro:mysql-galera patg$ kubectl exec $(kubectl get pods|grep pxc-node3|awk '{ print $1 }') -i -t -- mysql -u root -p -h pxc-cluster | |
Enter password: | |
Welcome to the MySQL monitor. Commands end with ; or \g. | |
Your MySQL connection id is 5 | |
Server version: 5.6.24-72.2-56-log Percona XtraDB Cluster (GPL), Release rel72.2, Revision 43abf03, WSREP version 25.11, wsrep_25.11 | |
Copyright (c) 2009-2015 Percona LLC and/or its affiliates | |
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. | |
Oracle is a registered trademark of Oracle Corporation and/or its | |
affiliates. Other names may be trademarks of their respective | |
owners. | |
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. | |
mysql> show status like 'wsrep_cluster_size'; | |
+--------------------+-------+ | |
| Variable_name | Value | | |
+--------------------+-------+ | |
| wsrep_cluster_size | 3 | | |
+--------------------+-------+ | |
1 row in set (0.06 sec) | |
mysql> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment