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 -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -