Comment 3 for bug 1402639

Revision history for this message
David Britton (dpb) wrote : Re: percona-cluster unknown command when creating db in shared-db-relation-changed

landscape@juju-machine-0-lxc-1:~$ juju run --unit mysql/0 'mysql -uroot -pW6y6jmRwCrS1Etu -e "show status like \"wsrep_cluster%\";"'
Variable_name Value
wsrep_cluster_conf_id 18446744073709551615
wsrep_cluster_size 0
wsrep_cluster_state_uuid 96d11a4e-4cca-11e5-99a7-9ad0cd043bb1
wsrep_cluster_status non-Primary
landscape@juju-machine-0-lxc-1:~$ set -o vi
landscape@juju-machine-0-lxc-1:~$ juju run --unit mysql/1 'mysql -uroot -pW6y6jmRwCrS1Etu -e "show status like \"wsrep_cluster%\";"'
Variable_name Value
wsrep_cluster_conf_id 18446744073709551615
wsrep_cluster_size 0
wsrep_cluster_state_uuid 96d11a4e-4cca-11e5-99a7-9ad0cd043bb1
wsrep_cluster_status non-Primary
landscape@juju-machine-0-lxc-1:~$ juju run --unit mysql/2 'mysql -uroot -pW6y6jmRwCrS1Etu -e "show status like \"wsrep_cluster%\";"'
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
ERROR subprocess encountered error code 1
landscape@juju-machine-0-lxc-1:~$