v5:reference:loadbalancer:clusterexecute
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
v5:reference:loadbalancer:clusterexecute [2017/04/20 00:33] – [$returnAllResults] mnewnham | v5:reference:loadbalancer:clusterexecute [2017/04/20 01:31] – [$existingConnectionsOnly] mnewnham | ||
---|---|---|---|
Line 23: | Line 23: | ||
* Connection pool with 3 MySQL servers | * Connection pool with 3 MySQL servers | ||
*/ | */ | ||
- | $a = $db-> | + | $a = $db-> |
+ | false, | ||
+ | false, | ||
+ | false); | ||
print_r($a); | print_r($a); | ||
/* | /* | ||
Line 62: | Line 65: | ||
*/ | */ | ||
- | $a = $db-> | + | $a = $db-> |
+ | false, | ||
+ | true, | ||
+ | false); | ||
print_r($a); | print_r($a); | ||
/* | /* | ||
Line 78: | Line 84: | ||
</ | </ | ||
===== $existingConnectionsOnly ==== | ===== $existingConnectionsOnly ==== | ||
- | ===== Usage ==== | + | If the '' |
- | <code php> | + | |
- | /* | + | |
- | * connection | + | |
- | */ | + | |
- | + | ||
- | $SQL = "SET SESSION TIME ZONE"; | + | |
- | + | ||
- | $success = $db->clusterExecute($SQL); | + | |
- | + | ||
- | </ | + | |
v5/reference/loadbalancer/clusterexecute.txt · Last modified: 2017/04/25 01:11 by mnewnham