← Back
Editing: ndb_connect_to_secondary.inc
# Use a variable to decide which cluster is 'Secondary' if (!$SWITCH_CLUSTER_ROLES) { --connection slave } if ($SWITCH_CLUSTER_ROLES) { --connection master }
Save File
Cancel