function isDeveloper () { return in_array (PHP_OS, array('Linux', 'WINNT')) ? true : false; } define( 'SLAVEID' , mt_rand(1,3) ); #subconfigs if (empty($argv[0])) { include "../conf/conf.sql.global.php"; } else { include "../conf/conf.sql.local.php"; } #ABSOLUX MASTER $db_ip_primary_master = "82.135.148.17"; #OTHER BASES $db_ip_primary_hitlist = "82.135.148.58"; $db_ip_primary_new_hitlist = "82.135.148.82"; $db_ip_primary_sunday = "82.135.148.58"; $db_ip_secondary_sunday = "82.135.148.58"; $db_ip_primary_chat = "82.135.148.58"; $db_ip_new_talk = '82.135.148.58'; $db_ip_new_talk_reader = '82.135.148.62';//'82.135.148.62'; $db_ip_new_search_reader = '82.135.148.58';//'82.135.148.57'; $db_ip_new_search = '82.135.148.58'; /*==================================== cobrand databases =============================================*/ for ($i = 1; $i < 257; $i++) { #new intro $cfg ['mysqlu'] [1] [ 'newlist' . $i ] ['base'] = 'MAIL'; $cfg ['mysqlu'] [1] [ 'newlist' . $i ] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] [ 'newlist' . $i ] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] [ 'newlist' . $i ] ['host'] = '82.135.151.' . $i; $cfg ['mysqlu'] [1] ['newlist' . $i . 'log'] ['base'] = 'LOG'; $cfg ['mysqlu'] [1] ['newlist' . $i . 'log'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['newlist' . $i . 'log'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['newlist' . $i . 'log'] ['host'] = '82.135.151.' . $i; } #mail dating lt $cfg ['mysqlu'] [1] ['newlist40log'] ['base'] = 'LOG'; $cfg ['mysqlu'] [1] ['newlist40log'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['newlist40log'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['newlist40log'] ['host'] = '82.135.148.40'; $cfg ['mysqlu'] [1] [ 'newlist234' ] ['base'] = 'MAIL'; $cfg ['mysqlu'] [1] [ 'newlist234' ] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] [ 'newlist234' ] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] [ 'newlist234' ] ['host'] = '82.135.148.234'; $cfg ['mysqlu'] [1] ['newlist234log'] ['base'] = 'LOG'; $cfg ['mysqlu'] [1] ['newlist234log'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['newlist234log'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['newlist234log'] ['host'] = '82.135.148.234'; $cfg ['mysqlu'] [1] ['alt'] ['base'] = 'ALT'; $cfg ['mysqlu'] [1] ['alt'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['alt'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['alt'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [1] ['timezone'] ['base'] = 'mysql'; $cfg ['mysqlu'] [1] ['timezone'] ['user'] = 'timezoner'; $cfg ['mysqlu'] [1] ['timezone'] ['pass'] = 't1m3r1z3r'; $cfg ['mysqlu'] [1] ['timezone'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [1] ['alt_reader'] ['base'] = 'ALT'; $cfg ['mysqlu'] [1] ['alt_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['alt_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['alt_reader'] ['host'] = $db_ip_primary_slave; $cfg ['mysqlu'] [1] ['writer'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['writer'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['writer'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['writer'] ['host'] = $db_ip_primary_master; #muchmaking slave $cfg ['mysqlu'] [1] ['ms'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['ms'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['ms'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['ms'] ['host'] = $db_ms; #new intro $cfg ['mysqlu'] [1] ['newlist'] ['base'] = 'MAIL'; $cfg ['mysqlu'] [1] ['newlist'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['newlist'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['newlist'] ['host'] = 'localhost'; $cfg ['mysqlu'] [1] ['newlistlog'] ['base'] = 'LOG'; $cfg ['mysqlu'] [1] ['newlistlog'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['newlistlog'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['newlistlog'] ['host'] = 'localhost'; # --- $cfg ['mysqlu'] [1] ['horo'] ['base'] = 'HORABSOLUX'; $cfg ['mysqlu'] [1] ['horo'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['horo'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['horo'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [1] ['horo_reader'] ['base'] = 'HORABSOLUX'; $cfg ['mysqlu'] [1] ['horo_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['horo_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['horo_reader'] ['host'] = $db_ip_primary_slave; $cfg ['mysqlu'] [1] ['horo_slave'] ['base'] = 'HORABSOLUX'; $cfg ['mysqlu'] [1] ['horo_slave'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['horo_slave'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['horo_slave'] ['host'] = $db_ip_secondary_slave; $cfg ['mysqlu'] [1] ['cron'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['cron'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['cron'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['cron'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [1] ['chat'] ['base'] = 'CHAT'; $cfg ['mysqlu'] [1] ['chat'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['chat'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['chat'] ['host'] = $db_ip_primary_chat; $cfg ['mysqlu'] [1] ['reader'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['reader'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [1] ['absolux_reader_slave1'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['absolux_reader_slave1'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['absolux_reader_slave1'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['absolux_reader_slave1'] ['host'] = $db_ip_primary_slave; $cfg ['mysqlu'] [1] ['absolux_reader_slave2'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['absolux_reader_slave2'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['absolux_reader_slave2'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['absolux_reader_slave2'] ['host'] = $db_ip_secondary_slave; $cfg ['mysqlu'] [1] ['absolux_reader_slave3'] ['base'] = 'ABSOLUX'; $cfg ['mysqlu'] [1] ['absolux_reader_slave3'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['absolux_reader_slave3'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['absolux_reader_slave3'] ['host'] = $db_ip_third_slave; $cfg ['mysqlu'] [1] ['seo_writer_slave2'] ['base'] = 'SEO'; $cfg ['mysqlu'] [1] ['seo_writer_slave2'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['seo_writer_slave2'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['seo_writer_slave2'] ['host'] = $db_ip_secondary_slave; $cfg ['mysqlu'] [1] ['hitlist'] ['base'] = 'HITLIST'; $cfg ['mysqlu'] [1] ['hitlist'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['hitlist'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['hitlist'] ['host'] = $db_ip_primary_hitlist; $cfg ['mysqlu'] [1] ['leader'] ['base'] = 'LEADER'; $cfg ['mysqlu'] [1] ['leader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['leader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['leader'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['radio'] ['base'] = 'RADIO'; $cfg ['mysqlu'] [1] ['radio'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['radio'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['radio'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['other'] ['base'] = 'OTHER'; $cfg ['mysqlu'] [1] ['other'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['other'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['other'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['topup'] ['base'] = 'TOPUP'; $cfg ['mysqlu'] [1] ['topup'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['topup'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['topup'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['tests'] ['base'] = 'TESTS'; $cfg ['mysqlu'] [1] ['tests'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['tests'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['tests'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['celebrities'] ['base'] = 'CELEBRITIES'; $cfg ['mysqlu'] [1] ['celebrities'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['celebrities'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['celebrities'] ['host'] = $db_ip_primary_hitlist; $cfg ['mysqlu'] [1] ['support'] ['base'] = 'SUPPORT'; $cfg ['mysqlu'] [1] ['support'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['support'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['support'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['magic'] ['base'] = 'MAGIC'; $cfg ['mysqlu'] [1] ['magic'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['magic'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['magic'] ['host'] = $db_ip_primary_wednesday; $cfg ['mysqlu'] [1] ['action'] ['base'] = 'ACTION'; $cfg ['mysqlu'] [1] ['action'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['action'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['action'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['refererstat'] ['base'] = 'REFERERSTAT'; $cfg ['mysqlu'] [1] ['refererstat'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['refererstat'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['refererstat'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['list'] ['base'] = 'LIST'; $cfg ['mysqlu'] [1] ['list'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['list'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['list'] ['host'] = $db_list; $cfg ['mysqlu'] [1] ['list_reader'] ['base'] = 'LIST'; $cfg ['mysqlu'] [1] ['list_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['list_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['list_reader'] ['host'] = $db_list_reader; # // currently used search DB $cfg ['mysqlu'] [1] ['search'] ['base'] = 'SEARCH'; $cfg ['mysqlu'] [1] ['search'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['search'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['search'] ['host'] = $db_ip_new_search_reader; $cfg ['mysqlu'] [1] ['search_list'] ['base'] = 'SEARCH'; $cfg ['mysqlu'] [1] ['search_list'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['search_list'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['search_list'] ['host'] = $db_list_reader; $cfg ['mysqlu'] [1] ['search_master'] ['base'] = 'SEARCH'; $cfg ['mysqlu'] [1] ['search_master'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['search_master'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['search_master'] ['host'] = $db_ip_new_search; $cfg ['mysqlu'] [1] ['photo'] ['base'] = 'PHOTOALBUM'; $cfg ['mysqlu'] [1] ['photo'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['photo'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['photo'] ['host'] = $db_ip_photoalbum; // for generation of new search DB during indexing $cfg ['mysqlu'] [1] ['search_new'] ['base'] = 'SEARCH'; $cfg ['mysqlu'] [1] ['search_new'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['search_new'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['search_new'] ['host'] = $db_ip_new_search_reader; $cfg ['mysqlu'] [1] ['online'] ['base'] = 'ONLINE'; $cfg ['mysqlu'] [1] ['online'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['online'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['online'] ['host'] = $db_ip_primary_wednesday; $cfg ['mysqlu'] [1] ['vote'] ['base'] = 'VOTE'; $cfg ['mysqlu'] [1] ['vote'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['vote'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['vote'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['blogs'] ['base'] = 'BLOG'; $cfg ['mysqlu'] [1] ['blogs'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['blogs'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['blogs'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['loginlog'] ['base'] = 'LOGINLOG'; $cfg ['mysqlu'] [1] ['loginlog'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['loginlog'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['loginlog'] ['host'] = $db_ip_primary_hitlist; $cfg ['mysqlu'] [1] ['wallet'] ['base'] = 'WALLET'; $cfg ['mysqlu'] [1] ['wallet'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['wallet'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['wallet'] ['host'] = $db_ip_secondary_sunday; $cfg ['mysqlu'] [1] ['raffle'] ['base'] = 'RAFFLE'; $cfg ['mysqlu'] [1] ['raffle'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['raffle'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['raffle'] ['host'] = $db_ip_primary_new_hitlist; $cfg ['mysqlu'] [1] ['psy'] ['base'] = 'PSY'; $cfg ['mysqlu'] [1] ['psy'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['psy'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['psy'] ['host'] = $db_ip_primary_sunday; $cfg ['mysqlu'] [1] ['daemon_logger'] ['base'] = 'DEBUG_LOGGER'; $cfg ['mysqlu'] [1] ['daemon_logger'] ['user'] = 'debug_logger'; $cfg ['mysqlu'] [1] ['daemon_logger'] ['pass'] = 'l0gd3bug'; $cfg ['mysqlu'] [1] ['daemon_logger'] ['host'] = $db_ip_primary_cheops; $cfg ['mysqlu'] [1] ['talk'] ['base'] = 'TALK'; $cfg ['mysqlu'] [1] ['talk'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['talk'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['talk'] ['host'] = $db_ip_new_talk; $cfg ['mysqlu'] [1] ['talk_reader'] ['base'] = 'TALK'; $cfg ['mysqlu'] [1] ['talk_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['talk_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['talk_reader'] ['host'] = $db_ip_new_talk_reader; $cfg ['mysqlu'] [1] ['lmpanel'] ['base'] = 'lmpanel'; $cfg ['mysqlu'] [1] ['lmpanel'] ['user'] = 'lmpanel'; $cfg ['mysqlu'] [1] ['lmpanel'] ['pass'] = 'lenap'; $cfg ['mysqlu'] [1] ['lmpanel'] ['host'] = '82.135.148.26'; $cfg ['mysqlu'] [1] ['MyDKD'] ['base'] = 'MyDKD'; $cfg ['mysqlu'] [1] ['MyDKD'] ['user'] = 'alt'; $cfg ['mysqlu'] [1] ['MyDKD'] ['pass'] = '[fes3b18]'; $cfg ['mysqlu'] [1] ['MyDKD'] ['host'] = '192.168.250.250'; $cfg ['mysqlu'] [1] ['GOODS'] ['base'] = 'GOODS'; $cfg ['mysqlu'] [1] ['GOODS'] ['user'] = 'alt'; $cfg ['mysqlu'] [1] ['GOODS'] ['pass'] = '[fes3b18]'; $cfg ['mysqlu'] [1] ['GOODS'] ['host'] = '192.168.250.250'; $cfg ['mysqlu'] [1] ['GOODS3'] ['base'] = 'GOODS3'; $cfg ['mysqlu'] [1] ['GOODS3'] ['user'] = 'alt'; $cfg ['mysqlu'] [1] ['GOODS3'] ['pass'] = '[fes3b18]'; $cfg ['mysqlu'] [1] ['GOODS3'] ['host'] = '192.168.250.250'; $cfg ['mysqlu'] [1] ['maillog'] ['base'] = 'LOG'; $cfg ['mysqlu'] [1] ['maillog'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['maillog'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['maillog'] ['host'] = '82.135.148.16'; $cfg ['mysqlu'] [1] ['PHOTOALBUM'] ['base'] = 'PHOTOALBUM'; $cfg ['mysqlu'] [1] ['PHOTOALBUM'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['PHOTOALBUM'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['PHOTOALBUM'] ['host'] = $db_ip_photoalbum; $cfg ['mysqlu'] [1] ['local'] ['base'] = 'Rassilka'; $cfg ['mysqlu'] [1] ['local'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['local'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['local'] ['host'] = $db_ip_photoalbum; $cfg ['mysqlu'] [1] ['local_reader'] ['base'] = 'Rassilka'; $cfg ['mysqlu'] [1] ['local_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['local_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['local_reader'] ['host'] = $db_ip_photoalbum; $cfg ['mysqlu'] [1] ['local_transfer'] ['base'] = 'TRANSFER'; $cfg ['mysqlu'] [1] ['local_transfer'] ['user'] = 'root'; $cfg ['mysqlu'] [1] ['local_transfer'] ['pass'] = 'dkd'; $cfg ['mysqlu'] [1] ['local_transfer'] ['host'] = $db_ip_photoalbum; $cfg ['mysqlu'] [1] ['mymaillog'] ['base'] = 'LOG'; $cfg ['mysqlu'] [1] ['mymaillog'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [1] ['mymaillog'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [1] ['mymaillog'] ['host'] = 'localhost'; $cfg ['mysqlu'] [1] ['cacti'] ['base'] = 'cacti'; $cfg ['mysqlu'] [1] ['cacti'] ['user'] = 'cactiuser'; $cfg ['mysqlu'] [1] ['cacti'] ['pass'] = 'cactiuser'; $cfg ['mysqlu'] [1] ['cacti'] ['host'] = '82.135.148.23'; $cfg ['mysqlu'] [1] ['used_mysql']=0; $cfg ['mysqlu'] [1] ['doc_suffix']=''; /*==================================== AD (adult) databases =============================================*/ $cfg ['mysqlu'] [2] ['alt'] ['base'] = 'ALT'; $cfg ['mysqlu'] [2] ['alt'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['alt'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['alt'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [2] ['timezone'] ['base'] = 'mysql'; $cfg ['mysqlu'] [2] ['timezone'] ['user'] = 'timezoner'; $cfg ['mysqlu'] [2] ['timezone'] ['pass'] = 't1m3r1z3r'; $cfg ['mysqlu'] [2] ['timezone'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [2] ['alt_reader'] ['base'] = 'ALT'; $cfg ['mysqlu'] [2] ['alt_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['alt_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['alt_reader'] ['host'] = $db_ip_primary_slave; $cfg ['mysqlu'] [2] ['writer'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['writer'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['writer'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['writer'] ['host'] = $db_ip_primary_master; #muchmaking much $cfg ['mysqlu'] [2] ['much'] ['base'] = 'ALT'; $cfg ['mysqlu'] [2] ['much'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['much'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['much'] ['host'] = '82.135.148.15'; #muchmaking slave $cfg ['mysqlu'] [2] ['ms'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['ms'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['ms'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['ms'] ['host'] = '82.135.148.15'; #35 slave $cfg ['mysqlu'] [2] ['slave35'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['slave35'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['slave35'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['slave35'] ['host'] = '82.135.148.35'; $cfg ['mysqlu'] [2] ['horo'] ['base'] = 'HORABSOLUX'; $cfg ['mysqlu'] [2] ['horo'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['horo'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['horo'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [2] ['horo_reader'] ['base'] = 'HORABSOLUX'; $cfg ['mysqlu'] [2] ['horo_reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['horo_reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['horo_reader'] ['host'] = $db_ip_primary_slave; $cfg ['mysqlu'] [2] ['horo_slave'] ['base'] = 'HORABSOLUX'; $cfg ['mysqlu'] [2] ['horo_slave'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['horo_slave'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['horo_slave'] ['host'] = $db_ip_secondary_slave; $cfg ['mysqlu'] [2] ['cron'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['cron'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['cron'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['cron'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [2] ['chat'] ['base'] = 'ADCHAT'; $cfg ['mysqlu'] [2] ['chat'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['chat'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['chat'] ['host'] = $db_ip_primary_chat; $cfg ['mysqlu'] [2] ['reader'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['reader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['reader'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['reader'] ['host'] = $db_ip_primary_master; $cfg ['mysqlu'] [2] ['absolux_reader_slave1'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['absolux_reader_slave1'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['absolux_reader_slave1'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['absolux_reader_slave1'] ['host'] = $db_ip_primary_slave; $cfg ['mysqlu'] [2] ['seo_writer_slave2'] ['base'] = 'ADSEO'; $cfg ['mysqlu'] [2] ['seo_writer_slave2'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['seo_writer_slave2'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['seo_writer_slave2'] ['host'] = $db_ip_secondary_slave; $cfg ['mysqlu'] [2] ['absolux_reader_slave2'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['absolux_reader_slave2'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['absolux_reader_slave2'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['absolux_reader_slave2'] ['host'] = $db_ip_secondary_slave; $cfg ['mysqlu'] [2] ['absolux_reader_slave3'] ['base'] = 'ADABSOLUX'; $cfg ['mysqlu'] [2] ['absolux_reader_slave3'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['absolux_reader_slave3'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['absolux_reader_slave3'] ['host'] = $db_ip_third_slave; $cfg ['mysqlu'] [2] ['hitlist'] ['base'] = 'HITLIST'; $cfg ['mysqlu'] [2] ['hitlist'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['hitlist'] ['pass'] = 'w3nwr1t3r45$'; $cfg ['mysqlu'] [2] ['hitlist'] ['host'] = $db_ip_primary_hitlist; $cfg ['mysqlu'] [2] ['leader'] ['base'] = 'ADLEADER'; $cfg ['mysqlu'] [2] ['leader'] ['user'] = 'wr1ter'; $cfg ['mysqlu'] [2] ['leader'] ['pass']