qcubed/framework — pull request #427 by matthiaz (2014-05-26 09:52:01+00:00)
Title: Percona mysql cluster support

If have set up a percona mysqli cluster and was having trouble load balancing the thing on qcubed. You can probably do this with PDO as well but I decided it was simpler to load balance it in qcubed. I haven't changed much. The new class inherits from the MySqli5Database class. The only thing it overwrites is the connect method.

To make it work you can alter configuration.inc.php like this:
define('DB_CONNECTION_1', serialize(array(
'adapter' => 'MySqli5Cluster',
'server'	=> array('mysql1','mysql2','mysql3'),

For installation instructions on percona mysql cluster see:

http://www.percona.com/doc/percona-xtradb-cluster/5.6/installation.html