I have 2 dbs, that are identical, not replicated yet.. but identical.
here is my connect:
$servers[0] = array('host' => '10.0.0.6', 'user' => 'username', 'pass' => 'password', 'db' => 'db1');
$servers[1] = array('host' => '10.0.0.4', 'user' => 'username', 'pass' => 'password', 'db' => 'db2');
what i am asking, is can i add something to connect to the server that has the lowest load? and if so, how can i do that?
thanks