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
Post a Comment