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

Delphi change the assembly code of a running process -

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

C++ 11 "class" keyword -