3 require_once( dirname(__FILE__
).'/commandLine.inc' );
5 if( isset( $options['group'] ) ) {
6 $db = wfGetDB( DB_SLAVE
, $options['group'] );
7 $host = $db->getProperty( 'mServer' );
9 $i = $wgLoadBalancer->getReaderIndex();
10 $host = $wgDBservers[$i]['host'];