python - Find the nodes in the percona cluster -



python - Find the nodes in the percona cluster -

how find number of nodes , node ip addresses in percona xtradb cluster within python application? know ip address of 1 node in cluster.

this can done executing

show variables 'wsrep_cluster_address';

for illustration using sqlalchemy, can by:

engine.execute("show variables 'wsrep_cluster_address'").fetchone()

python percona

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -