Guest User

Tweakers.net Database Passwords Wachtwoorden

a guest
Mar 24th, 2012
368
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ?php /** * Additional configuration required for the production environment. */ $config = array(); $config['database'] = array( 'master_tnet' => array( 'host' => 'artemis', 'user' => 'mysqlall', 'password' => 't60k4Xpsa3', 'defaultdb' => 'tweakers', ), 'slave_tnet' => array( 'host' => 'apollo', 'user' => 'mysqlall_read', 'password' => 'SCBfAxbs26j99Lxv', ), 'master_got' => array( 'host' => 'artemis', 'user' => 'react', 'password' => 'QjDHLwP[iK=neTf', 'defaultdb' => 'idreact', ), 'slave_got' => array( 'host' => 'apollo', 'user' => 'mysqlall_read', 'password' => 'SCBfAxbs26j99Lxv', ), 'master_log' => array( 'host' => 'artemis', 'user' => 'loginsert', 'password' => 'tDcFCm72NBvb3v8a', ), 'names' => array( 'forum' => 'idreact', ), 'master_mailserver' => array( 'host' => 'adonis', 'user' => 'mysqlall', 'password' => 't60k4Xpsa3', 'defaultdb' => 'postfix', ), 'master_koopwijzermobielos' => array( 'host' => 'artemis', 'user' => 'tnet_koopwijzer', 'password' => 'gYGmvXxnebVq', 'defaultdb' => 'tnet_oskoopwijzer', ), ); $config['location_telecity3']['database']['master_tnet']['host'] = 'apollo'; $config['memcached'] = array( 'primary' => array('host' => 'nestor', 'port' => 11211), 'secondary' => array('host' => 'narwhal', 'port' => 11211), ); // And reverse the hosts for TC3 //$config['location_telecity3']['memcached']['primary']['host'] = 'argus'; $config['mongodb'] = array( 'server' => 'mongodb://nestor,narwhal', 'connectionSettings' => array('replicaSet' => 'tweakers', 'timeout' => 50), 'authentication' => array( 'userdb' => array('username' => 'mongouserdb', 'password' => 'Spy6Shu1Wus1Riac9'), ), ); // And reverse the hosts for TC3 // $config['location_telecity3']['mongodb']['server'] = 'mongodb://artemis,apollo'; $config['stomp'] = array( 'broker' => 'failover://(tcp://nestor:61613,tcp://narwhal:61613)', // 'broker' => 'tcp://argus:61613', 'user' => '', 'password' => '', ); // And the webservers should try localhost first and then the closest host //$config['location_eunetworks']['stomp']['broker'] = 'failover://(tcp://localhost:61613,tcp://nestor:61613,tcp://narwhal:61613)'; //$config['location_telecity3']['stomp']['broker'] = 'failover://(tcp://localhost:61613,tcp://narwhal:61613,tcp://nestor:61613)'; return $config;
RAW Paste Data Copied