"ATTN: Eugene"

<?php

// Plugin Name: Multi-DB

// Plugin URI: https://premium.wpmudev.org/project/Multiple-Databases

// Author: Andrew Billits (Incsub)

// Version: 2.9.2

//


//

//—DB Scaling


//

//


//

// 16,256,4096

define (‘DB_SCALING’, ’16’:wink:;

//


//

//—DC IPs


//

//


//

// Usage: add_dc_ip(IP, DC)

// EX: add_dc_ip(‘123.123.123.’, ‘dc1’:wink:;

add_dc_ip(‘192.185.5.57’, ‘dc1’:wink:;

//


//

//—Global Tables


//

//


//

// Do not include default global tables

// Leave off base prefix (eg: wp_)

//

// Usage: add_global_table(TABLE_NAME)

// EX: add_global_table(‘something’:wink:;

add_global_table(‘bhostpro_wrdp1_global’:wink:;

//


//

//—DB Servers


//

//


//

// Database servers grouped by dataset.

// R can be 0 (no reads) or a positive integer indicating the order

// in which to attempt communication (all locals, then all remotes)

//

// Usage: add_db_server(DS, DC, READ, WRITE, HOST, LAN_HOST, NAME, USER, PASS)

// EX: add_db_server(‘global’, ‘dc1′, 1, 1,’global.mysql.example.com:3509′,’global.mysql.example.lan:3509’, ‘global-db’, ‘globaluser’, ‘globalpassword’:wink:;

//

// Note: you can also place this section in a file called db-list.php in wp-content

add_db_server(‘global’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_global’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘0’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_0’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘1’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_1’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘2’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_2’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘3’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_3’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘4’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_4’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘5’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_5’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘6’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_6’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘7’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_7’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘8’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_8’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘9’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_9’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘a’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_a’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘b’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_b’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘c’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_c’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘d’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_d’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘e’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_e’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

add_db_server(‘f’, ‘dc1′, 1, 1,”,’192.185.5.57’, ‘bhostpro_wrdp1_f’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

// add_db_server(‘vip1’, ‘dc1′, 1, 1,’192.185.5.57’, ‘bhostpro_vip1’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

// add_db_server(‘vip2’, ‘dc1′, 1, 1,’192.185.5.57’, ‘bhostpro_vip2’, ‘bhostpro_wrdp1’, ‘yJwReQX4KMgS’:wink:;

//


//

//—VIP Blogs


//

//


//

// Usage: add_vip_blog(BLOG_ID, DS)

// EX: add_vip_blog(1, ‘vip1’:wink:;

// add_vip_blog(1, ‘vip1’:wink:;

// add_vip_blog(2, ‘vip2’:wink:;

?>