Skip to content

Instantly share code, notes, and snippets.

Created December 15, 2015 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3922b9ff4a9dc2360551 to your computer and use it in GitHub Desktop.
Save anonymous/3922b9ff4a9dc2360551 to your computer and use it in GitHub Desktop.
ansible galera_container -m shell -a "mysql -h localhost -e 'show status like \"%wsrep_cluster_%\";'"
aio1_galera_container-c3119289 | success | rc=0 >>
Variable_name Value
wsrep_cluster_conf_id 18446744073709551615
wsrep_cluster_size 1
wsrep_cluster_state_uuid dcb93202-a304-11e5-b1e1-4ae6afc5f715
wsrep_cluster_status non-Primary
aio1_galera_container-334a91ca | FAILED | rc=1 >>
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")
aio1_galera_container-a8d25874 | FAILED | rc=1 >>
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment